FontGetGlyphVOriginFunc


Description:

[ CCode ( cname = "hb_font_get_glyph_origin_func_t" , instance_pos = 5.9 ) ]
public delegate Bool FontGetGlyphVOriginFunc (Font font, void* font_data, Codepoint glyph, 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) of the origin for a glyph. Each coordinate must be returned in an Position output parameter.

Parameters:

font

Font to work upon

font_data

font user data pointer

glyph

The glyph ID to query

x

The X coordinate of the origin

y

The Y coordinate of the origin

user_data

User data pointer passed by the caller

Returns:

`true` if data found, `false` otherwise


Namespace: HarfBuzz