10 #ifndef PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_
11 #define PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_
23 #define PPB_BROWSERFONT_TRUSTED_INTERFACE_1_0 "PPB_BrowserFont_Trusted;1.0"
24 #define PPB_BROWSERFONT_TRUSTED_INTERFACE PPB_BROWSERFONT_TRUSTED_INTERFACE_1_0
263 int32_t pixel_position);
273 uint32_t char_offset);
PP_BrowserFont_Trusted_Weight weight
PP_BrowserFont_Trusted_Family family
uint32_t(* CharacterOffsetForPixel)(PP_Resource font, const struct PP_BrowserFont_Trusted_TextRun *text, int32_t pixel_position)
PP_Bool(* Describe)(PP_Resource font, struct PP_BrowserFont_Trusted_Description *description, struct PP_BrowserFont_Trusted_Metrics *metrics)
PP_Bool(* DrawTextAt)(PP_Resource font, PP_Resource image_data, const struct PP_BrowserFont_Trusted_TextRun *text, const struct PP_Point *position, uint32_t color, const struct PP_Rect *clip, PP_Bool image_data_is_opaque)
int32_t(* MeasureText)(PP_Resource font, const struct PP_BrowserFont_Trusted_TextRun *text)
PP_Resource(* Create)(PP_Instance instance, const struct PP_BrowserFont_Trusted_Description *description)
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_BrowserFont_Trusted_Description, 48)
PP_Bool override_direction
struct PP_Var(* GetFontFamilies)(PP_Instance instance)
PP_BrowserFont_Trusted_Family
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_BrowserFont_Trusted_Family, 4)
PP_Bool(* IsFont)(PP_Resource resource)
int32_t(* PixelOffsetForCharacter)(PP_Resource font, const struct PP_BrowserFont_Trusted_TextRun *text, uint32_t char_offset)
PP_BrowserFont_Trusted_Weight