Struct ppapi::ffi::Struct_PPB_Font_Dev_0_6Experimental [-]  [+] [src]

pub struct Struct_PPB_Font_Dev_0_6 {
    pub GetFontFamilies: Option< extern "C" fn(instance: PP_Instance) -> Struct_PP_Var>,
    pub Create: Option< extern "C" fn(instance: PP_Instance, description: *const Struct_PP_FontDescription_Dev) -> PP_Resource>,
    pub IsFont: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub Describe: Option< extern "C" fn(font: PP_Resource, description: *mut Struct_PP_FontDescription_Dev, metrics: *mut Struct_PP_FontMetrics_Dev) -> PP_Bool>,
    pub DrawTextAt: Option< extern "C" fn(font: PP_Resource, image_data: PP_Resource, text: *const Struct_PP_TextRun_Dev, position: *const Struct_PP_Point, color: uint32_t, clip: *const Struct_PP_Rect, image_data_is_opaque: PP_Bool) -> PP_Bool>,
    pub MeasureText: Option< extern "C" fn(font: PP_Resource, text: *const Struct_PP_TextRun_Dev) -> int32_t>,
    pub CharacterOffsetForPixel: Option< extern "C" fn(font: PP_Resource, text: *const Struct_PP_TextRun_Dev, pixel_position: int32_t) -> uint32_t>,
    pub PixelOffsetForCharacter: Option< extern "C" fn(font: PP_Resource, text: *const Struct_PP_TextRun_Dev, char_offset: uint32_t) -> int32_t>,
}

Fields

GetFontFamilies
Create
IsFont
Describe
DrawTextAt
MeasureText
CharacterOffsetForPixel
PixelOffsetForCharacter

Trait Implementations

impl Default for Struct_PPB_Font_Dev_0_6

fn default() -> Struct_PPB_Font_Dev_0_6

Derived Implementations

impl Copy for Struct_PPB_Font_Dev_0_6