#[repr(C)]pub struct BLContextVirt {Show 57 fields
pub destroy: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>,
pub flush: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, flags: u32) -> BLResult>,
pub save: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, cookie: *mut BLContextCookie) -> BLResult>,
pub restore: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, cookie: *const BLContextCookie) -> BLResult>,
pub matrixOp: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, opType: u32, opData: *const c_void) -> BLResult>,
pub userToMeta: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>,
pub setHint: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, hintType: u32, value: u32) -> BLResult>,
pub setHints: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, hints: *const BLContextHints) -> BLResult>,
pub setFlattenMode: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, mode: u32) -> BLResult>,
pub setFlattenTolerance: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, tolerance: f64) -> BLResult>,
pub setApproximationOptions: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, options: *const BLApproximationOptions) -> BLResult>,
pub setCompOp: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, compOp: u32) -> BLResult>,
pub setGlobalAlpha: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, alpha: f64) -> BLResult>,
pub setStyleAlpha: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, alpha: f64) -> BLResult>; 2],
pub getStyle: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, object: *mut c_void) -> BLResult>; 2],
pub getStyleRgba32: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba32: *mut u32) -> BLResult>; 2],
pub getStyleRgba64: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba64: *mut u64) -> BLResult>; 2],
pub setStyle: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, object: *const c_void) -> BLResult>; 2],
pub setStyleRgba32: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba32: u32) -> BLResult>; 2],
pub setStyleRgba64: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba64: u64) -> BLResult>; 2],
pub setFillRule: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, fillRule: u32) -> BLResult>,
pub setStrokeWidth: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, width: f64) -> BLResult>,
pub setStrokeMiterLimit: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, miterLimit: f64) -> BLResult>,
pub setStrokeCap: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, position: u32, strokeCap: u32) -> BLResult>,
pub setStrokeCaps: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, strokeCap: u32) -> BLResult>,
pub setStrokeJoin: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, strokeJoin: u32) -> BLResult>,
pub setStrokeDashOffset: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, dashOffset: f64) -> BLResult>,
pub setStrokeDashArray: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, dashArray: *const BLArrayCore) -> BLResult>,
pub setStrokeTransformOrder: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, transformOrder: u32) -> BLResult>,
pub setStrokeOptions: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, options: *const BLStrokeOptionsCore) -> BLResult>,
pub clipToRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>,
pub clipToRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>,
pub restoreClipping: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>,
pub clearAll: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>,
pub clearRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>,
pub clearRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>,
pub fillAll: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>,
pub fillRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>,
pub fillRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>,
pub fillPathD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, path: *const BLPathCore) -> BLResult>,
pub fillGeometry: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, geometryType: u32, geometryData: *const c_void) -> BLResult>,
pub fillTextI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>,
pub fillTextD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>,
pub fillGlyphRunI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>,
pub fillGlyphRunD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>,
pub strokeRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>,
pub strokeRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>,
pub strokePathD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, path: *const BLPathCore) -> BLResult>,
pub strokeGeometry: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, geometryType: u32, geometryData: *const c_void) -> BLResult>,
pub strokeTextI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>,
pub strokeTextD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>,
pub strokeGlyphRunI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>,
pub strokeGlyphRunD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>,
pub blitImageI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>,
pub blitImageD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>,
pub blitScaledImageI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>,
pub blitScaledImageD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>,
}Fields§
§destroy: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>§flush: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, flags: u32) -> BLResult>§save: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, cookie: *mut BLContextCookie) -> BLResult>§restore: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, cookie: *const BLContextCookie) -> BLResult>§matrixOp: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, opType: u32, opData: *const c_void) -> BLResult>§userToMeta: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>§setHint: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, hintType: u32, value: u32) -> BLResult>§setHints: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, hints: *const BLContextHints) -> BLResult>§setFlattenMode: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, mode: u32) -> BLResult>§setFlattenTolerance: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, tolerance: f64) -> BLResult>§setApproximationOptions: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, options: *const BLApproximationOptions) -> BLResult>§setCompOp: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, compOp: u32) -> BLResult>§setGlobalAlpha: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, alpha: f64) -> BLResult>§setStyleAlpha: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, alpha: f64) -> BLResult>; 2]§getStyle: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, object: *mut c_void) -> BLResult>; 2]§getStyleRgba32: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba32: *mut u32) -> BLResult>; 2]§getStyleRgba64: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba64: *mut u64) -> BLResult>; 2]§setStyle: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, object: *const c_void) -> BLResult>; 2]§setStyleRgba32: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba32: u32) -> BLResult>; 2]§setStyleRgba64: [Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rgba64: u64) -> BLResult>; 2]§setFillRule: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, fillRule: u32) -> BLResult>§setStrokeWidth: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, width: f64) -> BLResult>§setStrokeMiterLimit: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, miterLimit: f64) -> BLResult>§setStrokeCap: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, position: u32, strokeCap: u32) -> BLResult>§setStrokeCaps: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, strokeCap: u32) -> BLResult>§setStrokeJoin: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, strokeJoin: u32) -> BLResult>§setStrokeDashOffset: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, dashOffset: f64) -> BLResult>§setStrokeDashArray: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, dashArray: *const BLArrayCore) -> BLResult>§setStrokeTransformOrder: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, transformOrder: u32) -> BLResult>§setStrokeOptions: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, options: *const BLStrokeOptionsCore) -> BLResult>§clipToRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>§clipToRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>§restoreClipping: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>§clearAll: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>§clearRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>§clearRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>§fillAll: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl) -> BLResult>§fillRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>§fillRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>§fillPathD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, path: *const BLPathCore) -> BLResult>§fillGeometry: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, geometryType: u32, geometryData: *const c_void) -> BLResult>§fillTextI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>§fillTextD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>§fillGlyphRunI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>§fillGlyphRunD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>§strokeRectI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI) -> BLResult>§strokeRectD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect) -> BLResult>§strokePathD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, path: *const BLPathCore) -> BLResult>§strokeGeometry: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, geometryType: u32, geometryData: *const c_void) -> BLResult>§strokeTextI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>§strokeTextD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, text: *const c_void, size: usize, encoding: u32) -> BLResult>§strokeGlyphRunI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>§strokeGlyphRunD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, font: *const BLFontCore, glyphRun: *const BLGlyphRun) -> BLResult>§blitImageI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPointI, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>§blitImageD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, pt: *const BLPoint, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>§blitScaledImageI: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRectI, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>§blitScaledImageD: Option<unsafe extern "C" fn(impl_: *mut BLContextImpl, rect: *const BLRect, img: *const BLImageCore, imgArea: *const BLRectI) -> BLResult>Trait Implementations§
Source§impl Clone for BLContextVirt
impl Clone for BLContextVirt
Source§fn clone(&self) -> BLContextVirt
fn clone(&self) -> BLContextVirt
Returns a copy 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 moreimpl Copy for BLContextVirt
Auto Trait Implementations§
impl Freeze for BLContextVirt
impl RefUnwindSafe for BLContextVirt
impl Send for BLContextVirt
impl Sync for BLContextVirt
impl Unpin for BLContextVirt
impl UnwindSafe for BLContextVirt
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