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
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
).