Function

Pango.attr_scale_new

Declaration [src]

PangoAttribute*
pango_attr_scale_new (
  double scale_factor
)

Description [src]

Create a new font size scale attribute.

The base font for the affected text will have its size multiplied by scale_factor.

Parameters

scale_factor double
 

factor to scale the font

Return value

Returns: PangoAttribute

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

The caller of the function takes ownership of the data, and is responsible for freeing it