#[repr(C)]pub struct DRAWBOT_SurfaceSuite1 {Show 17 fields
pub PushStateStack: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef) -> SPErr>,
pub PopStateStack: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef) -> SPErr>,
pub PaintRect: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_colorP: *const DRAWBOT_ColorRGBA, in_rectPR: *const DRAWBOT_RectF32) -> SPErr>,
pub FillPath: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_brush_ref: DRAWBOT_BrushRef, in_path_ref: DRAWBOT_PathRef, in_fill_type: DRAWBOT_FillType) -> SPErr>,
pub StrokePath: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_pen_ref: DRAWBOT_PenRef, in_path_ref: DRAWBOT_PathRef) -> SPErr>,
pub Clip: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_supplier_ref: DRAWBOT_SupplierRef, in_rectPR: *const DRAWBOT_Rect32) -> SPErr>,
pub GetClipBounds: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_rectPR: *mut DRAWBOT_Rect32) -> SPErr>,
pub IsWithinClipBounds: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_rectPR: *const DRAWBOT_Rect32, out_withinPB: *mut DRAWBOT_Boolean) -> SPErr>,
pub Transform: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_matrixP: *const DRAWBOT_MatrixF32) -> SPErr>,
pub DrawString: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_brush_ref: DRAWBOT_BrushRef, in_font_ref: DRAWBOT_FontRef, in_stringP: *const DRAWBOT_UTF16Char, in_originP: *const DRAWBOT_PointF32, in_alignment_style: DRAWBOT_TextAlignment, in_truncation_style: DRAWBOT_TextTruncation, in_truncation_width: f32) -> SPErr>,
pub DrawImage: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_image_ref: DRAWBOT_ImageRef, in_originP: *const DRAWBOT_PointF32, in_alpha: f32) -> SPErr>,
pub SetInterpolationPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_interp: DRAWBOT_InterpolationPolicy) -> SPErr>,
pub GetInterpolationPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_interpP: *mut DRAWBOT_InterpolationPolicy) -> SPErr>,
pub SetAntiAliasPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_policy: DRAWBOT_AntiAliasPolicy) -> SPErr>,
pub GetAntiAliasPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_policyP: *mut DRAWBOT_AntiAliasPolicy) -> SPErr>,
pub Flush: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef) -> SPErr>,
pub GetTransformToScreenScale: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_scale: *mut f32) -> SPErr>,
}Fields§
§PushStateStack: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef) -> SPErr>§PopStateStack: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef) -> SPErr>§PaintRect: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_colorP: *const DRAWBOT_ColorRGBA, in_rectPR: *const DRAWBOT_RectF32) -> SPErr>§FillPath: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_brush_ref: DRAWBOT_BrushRef, in_path_ref: DRAWBOT_PathRef, in_fill_type: DRAWBOT_FillType) -> SPErr>§StrokePath: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_pen_ref: DRAWBOT_PenRef, in_path_ref: DRAWBOT_PathRef) -> SPErr>§Clip: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_supplier_ref: DRAWBOT_SupplierRef, in_rectPR: *const DRAWBOT_Rect32) -> SPErr>§GetClipBounds: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_rectPR: *mut DRAWBOT_Rect32) -> SPErr>§IsWithinClipBounds: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_rectPR: *const DRAWBOT_Rect32, out_withinPB: *mut DRAWBOT_Boolean) -> SPErr>§Transform: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_matrixP: *const DRAWBOT_MatrixF32) -> SPErr>§DrawString: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_brush_ref: DRAWBOT_BrushRef, in_font_ref: DRAWBOT_FontRef, in_stringP: *const DRAWBOT_UTF16Char, in_originP: *const DRAWBOT_PointF32, in_alignment_style: DRAWBOT_TextAlignment, in_truncation_style: DRAWBOT_TextTruncation, in_truncation_width: f32) -> SPErr>§DrawImage: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_image_ref: DRAWBOT_ImageRef, in_originP: *const DRAWBOT_PointF32, in_alpha: f32) -> SPErr>§SetInterpolationPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_interp: DRAWBOT_InterpolationPolicy) -> SPErr>§GetInterpolationPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_interpP: *mut DRAWBOT_InterpolationPolicy) -> SPErr>§SetAntiAliasPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, in_policy: DRAWBOT_AntiAliasPolicy) -> SPErr>§GetAntiAliasPolicy: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_policyP: *mut DRAWBOT_AntiAliasPolicy) -> SPErr>§Flush: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef) -> SPErr>§GetTransformToScreenScale: Option<unsafe extern "C" fn(in_surface_ref: DRAWBOT_SurfaceRef, out_scale: *mut f32) -> SPErr>Trait Implementations§
Source§impl Clone for DRAWBOT_SurfaceSuite1
impl Clone for DRAWBOT_SurfaceSuite1
Source§fn clone(&self) -> DRAWBOT_SurfaceSuite1
fn clone(&self) -> DRAWBOT_SurfaceSuite1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DRAWBOT_SurfaceSuite1
impl Debug for DRAWBOT_SurfaceSuite1
impl Copy for DRAWBOT_SurfaceSuite1
Auto Trait Implementations§
impl Freeze for DRAWBOT_SurfaceSuite1
impl RefUnwindSafe for DRAWBOT_SurfaceSuite1
impl Send for DRAWBOT_SurfaceSuite1
impl Sync for DRAWBOT_SurfaceSuite1
impl Unpin for DRAWBOT_SurfaceSuite1
impl UnwindSafe for DRAWBOT_SurfaceSuite1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more