fontGetGlyphContourPointForOrigin

Fetches the (X,Y) coordinates of a specified contour-point index in the specified glyph ID in the specified font, with respect to the origin in a text segment in the specified direction.

Calls the appropriate direction-specific variant (horizontal or vertical) depending on the value of direction.

Parameters

font harfbuzz.font.Font

#hb_font_t to work upon

glyph harfbuzz.types.Codepoint

The glyph ID to query

pointIndex uint

The contour-point index to query

direction harfbuzz.types.Direction

The direction of the text segment

x harfbuzz.types.Position

The X value retrieved for the contour point

y harfbuzz.types.Position

The Y value retrieved for the contour point

Return Value

Type: harfbuzz.types.Bool

true if data found, false otherwise