FontGetGlyphContourFunc


Description:

[ CCode ( cname = "hb_font_get_glyph_contour_point_func_t" , instance_pos = 6.9 ) ]
public delegate Bool FontGetGlyphContourFunc (Font font, void* font_data, Codepoint glyph, uint point_index, Position x, Position y)

A virtual method for the FontFuncs of an Font object.

This method should retrieve the (X,Y) coordinates (in scaled units) for a specified contour point in a glyph. Each coordinate must be returned as an Position output parameter.

Parameters:

font

Font to work upon

font_data

font user data pointer

glyph

The glyph ID to query

point_index

The contour-point index to query

x

The X value retrieved for the contour point

y

The Y value retrieved for the contour point

user_data

User data pointer passed by the caller

Returns:

`true` if data found, `false` otherwise


Namespace: HarfBuzz