attrFontScaleNew

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.

Parameters

scale pango.types.FontScale

a pango.types.FontScale value, which indicates font size change relative to the size of the previous run.

Return Value

Type: pango.attribute.Attribute

the newly allocated pango.attribute.Attribute, which should be freed with pango.attribute.Attribute.destroy