Function

Pango.attr_font_scale_new

Declaration [src]

PangoAttribute*
pango_attr_font_scale_new (
  PangoFontScale scale
)

Description [src]

Create a new font scale attribute.

The effect of this attribute is to change the font size of a run, relative to the size of preceding run.

Available since:1.50

Parameters

scale PangoFontScale
 

a PangoFontScale value, which indicates font size change relative to the size of the previous run.

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