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

pub struct Struct_PPB_Graphics2D_1_1 {
    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>,
    pub SetScale: Option< extern "C" fn(resource: PP_Resource, scale: c_float) -> PP_Bool>,
    pub GetScale: Option< extern "C" fn(resource: PP_Resource) -> c_float>,
}

Fields

Create
IsGraphics2D
Describe
PaintImageData
Scroll
ReplaceContents
Flush
SetScale
GetScale

Trait Implementations

impl Default for Struct_PPB_Graphics2D_1_1

fn default() -> Struct_PPB_Graphics2D_1_1

Derived Implementations

impl Copy for Struct_PPB_Graphics2D_1_1