get_log_attrs_readonly


Description:

[ 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 [method@Pango.Layout.get_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.

Parameters:

this

a `PangoLayout`

n_attrs

location to store the number of the attributes in the array

Returns:

an array of logical attributes