Struct ID2D1GeometryVtbl

Source
#[repr(C)]
pub struct ID2D1GeometryVtbl {
Show 14 fields pub parent: ID2D1ResourceVtbl, pub GetBounds: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, bounds: *mut D2D1_RECT_F) -> HRESULT, pub GetWidenedBounds: unsafe extern "system" fn(This: *mut ID2D1Geometry, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, bounds: *mut D2D1_RECT_F) -> HRESULT, pub StrokeContainsPoint: unsafe extern "system" fn(This: *mut ID2D1Geometry, point: D2D1_POINT_2F, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, contains: *mut BOOL) -> HRESULT, pub FillContainsPoint: unsafe extern "system" fn(This: *mut ID2D1Geometry, point: D2D1_POINT_2F, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, contains: *mut BOOL) -> HRESULT, pub CompareWithGeometry: unsafe extern "system" fn(This: *mut ID2D1Geometry, inputGeometry: *mut ID2D1Geometry, inputGeometryTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, relation: *mut D2D1_GEOMETRY_RELATION) -> HRESULT, pub Simplify: unsafe extern "system" fn(This: *mut ID2D1Geometry, simplificationOption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT, pub Tessellate: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, tessellationSink: *mut ID2D1TessellationSink) -> HRESULT, pub CombineWithGeometry: unsafe extern "system" fn(This: *mut ID2D1Geometry, inputGeometry: *mut ID2D1Geometry, combineMode: D2D1_COMBINE_MODE, inputGeometryTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT, pub Outline: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT, pub ComputeArea: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, area: *mut FLOAT) -> HRESULT, pub ComputeLength: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, length: *mut FLOAT) -> HRESULT, pub ComputePointAtLength: unsafe extern "system" fn(This: *mut ID2D1Geometry, length: FLOAT, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, point: *mut D2D1_POINT_2F, unitTangentVector: *mut D2D1_POINT_2F) -> HRESULT, pub Widen: unsafe extern "system" fn(This: *mut ID2D1Geometry, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT,
}

Fields§

§parent: ID2D1ResourceVtbl§GetBounds: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, bounds: *mut D2D1_RECT_F) -> HRESULT§GetWidenedBounds: unsafe extern "system" fn(This: *mut ID2D1Geometry, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, bounds: *mut D2D1_RECT_F) -> HRESULT§StrokeContainsPoint: unsafe extern "system" fn(This: *mut ID2D1Geometry, point: D2D1_POINT_2F, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, contains: *mut BOOL) -> HRESULT§FillContainsPoint: unsafe extern "system" fn(This: *mut ID2D1Geometry, point: D2D1_POINT_2F, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, contains: *mut BOOL) -> HRESULT§CompareWithGeometry: unsafe extern "system" fn(This: *mut ID2D1Geometry, inputGeometry: *mut ID2D1Geometry, inputGeometryTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, relation: *mut D2D1_GEOMETRY_RELATION) -> HRESULT§Simplify: unsafe extern "system" fn(This: *mut ID2D1Geometry, simplificationOption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT§Tessellate: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, tessellationSink: *mut ID2D1TessellationSink) -> HRESULT§CombineWithGeometry: unsafe extern "system" fn(This: *mut ID2D1Geometry, inputGeometry: *mut ID2D1Geometry, combineMode: D2D1_COMBINE_MODE, inputGeometryTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT§Outline: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT§ComputeArea: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, area: *mut FLOAT) -> HRESULT§ComputeLength: unsafe extern "system" fn(This: *mut ID2D1Geometry, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, length: *mut FLOAT) -> HRESULT§ComputePointAtLength: unsafe extern "system" fn(This: *mut ID2D1Geometry, length: FLOAT, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, point: *mut D2D1_POINT_2F, unitTangentVector: *mut D2D1_POINT_2F) -> HRESULT§Widen: unsafe extern "system" fn(This: *mut ID2D1Geometry, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.