extents_range


Description:

public void extents_range (int start, int end, Font font, out Rectangle ink_rect, out Rectangle logical_rect)

Computes the extents of a sub-portion of a glyph string.

The extents are relative to the start of the glyph string range (the origin of their coordinate system is at the start of the range, not at the start of the entire glyph string).

Parameters:

this

a `PangoGlyphString`

start

start index

end

end index (the range is the set of bytes with indices such that start <= index < end)

font

a `PangoFont`

ink_rect

rectangle used to store the extents of the glyph string range as drawn

logical_rect

rectangle used to store the logical extents of the glyph string range




2022 vala-language.org