attrScaleNew

fnpango.attribute.Attribute attrScaleNew(double scaleFactor)

Create a new font size scale attribute.

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

Parameters

scaleFactorfactor to scale the font

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]