[ CCode ( array_length_pos = 0.1 ) ]
[ Version ( since = "1.30" ) ]
public unowned LogAttr[] get_log_attrs_readonly ()
Retrieves an array of logical attributes for each character in the this.
This is a faster alternative to [[email protected]_log_attrs]. The returned array is part of this and must not be modified. Modifying the layout will invalidate the returned array.
The number of attributes returned in return.length
will be one more than the total number
of characters in the layout, since there need to be attributes corresponding to both the position before the first character and the
position after the last character.
this |
a `PangoLayout` |
n_attrs |
location to store the number of the attributes in the array |
an array of logical attributes |