Function

Pango.AttrSize.new

Declaration [src]

PangoAttribute*
pango_attr_size_new (
  int size
)

Description [src]

Create a new font-size attribute in fractional points.

Parameters

size int
 

the font size, in %PANGO_SCALEths of a point.

Return value

Returns: PangoAttribute

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

Ownership of the data is transferred to the caller