[−][src]Struct blend2d_sys::BLContextVirt
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
impl Copy for BLContextVirt
[src]
impl Clone for BLContextVirt
[src]
fn clone(&self) -> BLContextVirt
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for BLContextVirt
impl Sync for BLContextVirt
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,