PgAttributeSize.this

Create a new font-size attribute in fractional points.

  1. this(PangoAttrSize* pangoAttrSize, bool ownedRef)
  2. this(int size, bool absolute)
    class PgAttributeSize
    this
    (
    int size
    ,)

Parameters

size int

the font size, in %PANGO_SCALE<!-- -->ths of a point.

absolute bool

true if the size represents an absolute size.

Return: the newly allocated #PangoAttribute, which should be freed with pango_attribute_destroy().

Throws

ConstructionException GTK+ fails to create the object.

Meta