pango.attr_size
Module for [AttrSize] class
class AttrSize
Types 1
classAttrSize
The pango.attr_size.AttrSize structure is used to represent attributes which set font size.
Fields
PangoAttrSize _cInstanceMethods
void * _cPtr() nothrowpango.attribute.Attribute attr() @property nothrowGet `attr` field. Returns: the common portion of the attributeint size() @property nothrowGet `size` field. Returns: size of font, in units of 1/[pango.types.SCALE] of a point (for [pango.types.AttrType.Size]) or of a device unit (for [pango.types.AttrType.AbsoluteSize])void size(int propval) @property nothrowSet `size` field. Params: propval = size of font, in units of 1/[pango.types.SCALE] of a point (for [pango.types.AttrType.Size]) or of a device unit (for [pango.types.AttrType.AbsoluteSize])uint absolute() @property nothrowGet `absolute` field. Returns: whether the font size is in device units or points. This field is only present for compatibility with Pango-1.8.0 ([pango.types.AttrType.AbsoluteSize] was added in 1....void absolute(uint propval) @property nothrowSet `absolute` field. Params: propval = whether the font size is in device units or points. This field is only present for compatibility with Pango-1.8.0 ([pango.types.AttrType.AbsoluteSize] was ad...pango.attribute.Attribute new_(int size) static nothrowCreate a new font-size attribute in fractional points.pango.attribute.Attribute newAbsolute(int size) static nothrowCreate a new font-size attribute in device units.