fontGetGlyphContourPointForOrigin

fnharfbuzz.types.Bool fontGetGlyphContourPointForOrigin(harfbuzz.font.Font font, harfbuzz.types.Codepoint glyph, uint pointIndex, harfbuzz.types.Direction direction, out harfbuzz.types.Position x, out harfbuzz.types.Position y)

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#hb_font_t to work upon
glyphThe glyph ID to query
pointIndexThe contour-point index to query
directionThe direction of the text segment
xThe X value retrieved for the contour point
yThe Y value retrieved for the contour point

Returns

true if data found, false otherwise