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
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).