Package: pango
Function pango-layout-line-x-ranges
Lambda Listpango-layout-line-x-ranges (line start-index end-index ranges n-ranges) ArgumentsReturn Value ranges -- a pointer to an array of ranges. The array will be of
length 2*n_ranges, with each range starting at (*ranges)[2*n] and of
width (*ranges)[2*n + 1] - (*ranges)[2*n]. This array must be freed with g-free. The coordinates are relative to the layout and are in Pango units n-ranges -- The number of ranges stored in ranges. Details
Gets a list of visual ranges corresponding to a given logical range.
This list is not necessarily minimal - there may be consecutive ranges which
are adjacent. The ranges will be sorted from left to right. The ranges are
with respect to the left edge of the entire layout, not with respect to the
line. | See also |
2021-1-16