Type Alias harfbuzz_sys::hb_font_get_glyph_origin_func_t

source ·
pub type hb_font_get_glyph_origin_func_t = Option<unsafe extern "C" fn(font: *mut hb_font_t, font_data: *mut c_void, glyph: hb_codepoint_t, x: *mut hb_position_t, y: *mut hb_position_t, user_data: *mut c_void) -> hb_bool_t>;
Expand description

hb_font_get_glyph_origin_func_t:

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

This method should retrieve the (X,Y) coordinates (in font units) of the origin for a glyph. Each coordinate must be returned in an #hb_position_t output parameter.

Aliased Type§

enum hb_font_get_glyph_origin_func_t {
    None,
    Some(unsafe extern "C" fn(_: *mut hb_font_t, _: *mut c_void, _: u32, _: *mut i32, _: *mut i32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut hb_font_t, _: *mut c_void, _: u32, _: *mut i32, _: *mut i32, _: *mut c_void) -> i32)

Some value of type T.