Struct windows::Win32::Graphics::Direct2D::ID2D1Geometry_Vtbl

#[repr(C)]
pub struct ID2D1Geometry_Vtbl {
Show 14 fields pub base__: ID2D1Resource_Vtbl, pub GetBounds: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: *mut D2D_RECT_F) -> HRESULT, pub GetWidenedBounds: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut D2D_RECT_F) -> HRESULT, pub StrokeContainsPoint: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: f32, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut BOOL) -> HRESULT, pub FillContainsPoint: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const Matrix3x2, _: f32, _: *mut BOOL) -> HRESULT, pub CompareWithGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut D2D1_GEOMETRY_RELATION) -> HRESULT, pub Simplify: unsafe extern "system" fn(_: *mut c_void, _: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT, pub Tessellate: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT, pub CombineWithGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: D2D1_COMBINE_MODE, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT, pub Outline: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT, pub ComputeArea: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut f32) -> HRESULT, pub ComputeLength: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut f32) -> HRESULT, pub ComputePointAtLength: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const Matrix3x2, _: f32, _: *mut D2D_POINT_2F, _: *mut D2D_POINT_2F) -> HRESULT, pub Widen: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT,
}

Fields§

§base__: ID2D1Resource_Vtbl§GetBounds: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: *mut D2D_RECT_F) -> HRESULT§GetWidenedBounds: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut D2D_RECT_F) -> HRESULT§StrokeContainsPoint: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: f32, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut BOOL) -> HRESULT§FillContainsPoint: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const Matrix3x2, _: f32, _: *mut BOOL) -> HRESULT§CompareWithGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut D2D1_GEOMETRY_RELATION) -> HRESULT§Simplify: unsafe extern "system" fn(_: *mut c_void, _: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT§Tessellate: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT§CombineWithGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: D2D1_COMBINE_MODE, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT§Outline: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT§ComputeArea: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut f32) -> HRESULT§ComputeLength: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut f32) -> HRESULT§ComputePointAtLength: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const Matrix3x2, _: f32, _: *mut D2D_POINT_2F, _: *mut D2D_POINT_2F) -> HRESULT§Widen: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *mut c_void, _: *const Matrix3x2, _: f32, _: *mut c_void) -> HRESULT

Implementations§

§

impl ID2D1Geometry_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ID2D1Geometry_Vtbl
where Identity: ID2D1Geometry_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.