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

pub struct Struct_PPB_Graphics2D_1_0 {
    pub Create: Option< extern "C" fn(instance: PP_Instance, size: *const Struct_PP_Size, is_always_opaque: PP_Bool) -> PP_Resource>,
    pub IsGraphics2D: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub Describe: Option< extern "C" fn(graphics_2d: PP_Resource, size: *mut Struct_PP_Size, is_always_opaque: *mut PP_Bool) -> PP_Bool>,
    pub PaintImageData: Option< extern "C" fn(graphics_2d: PP_Resource, image_data: PP_Resource, top_left: *const Struct_PP_Point, src_rect: *const Struct_PP_Rect)>,
    pub Scroll: Option< extern "C" fn(graphics_2d: PP_Resource, clip_rect: *const Struct_PP_Rect, amount: *const Struct_PP_Point)>,
    pub ReplaceContents: Option< extern "C" fn(graphics_2d: PP_Resource, image_data: PP_Resource)>,
    pub Flush: Option< extern "C" fn(graphics_2d: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
}

Fields

Create
IsGraphics2D
Describe
PaintImageData
Scroll
ReplaceContents
Flush

Trait Implementations

impl Default for Struct_PPB_Graphics2D_1_0

fn default() -> Struct_PPB_Graphics2D_1_0

Derived Implementations

impl Copy for Struct_PPB_Graphics2D_1_0