Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1Geometry [−][src]
#[repr(transparent)]pub struct ID2D1Geometry(_);
Implementations
pub unsafe fn GetBounds(
&self,
worldtransform: *const Matrix3x2,
bounds: *mut D2D_RECT_F
) -> HRESULT
[src]pub unsafe fn GetWidenedBounds<'a>(
&self,
strokewidth: f32,
strokestyle: impl IntoParam<'a, ID2D1StrokeStyle>,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
bounds: *mut D2D_RECT_F
) -> HRESULT
[src]pub unsafe fn StrokeContainsPoint<'a>(
&self,
point: impl IntoParam<'a, D2D_POINT_2F>,
strokewidth: f32,
strokestyle: impl IntoParam<'a, ID2D1StrokeStyle>,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
contains: *mut BOOL
) -> HRESULT
[src]pub unsafe fn FillContainsPoint<'a>(
&self,
point: impl IntoParam<'a, D2D_POINT_2F>,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
contains: *mut BOOL
) -> HRESULT
[src]pub unsafe fn CompareWithGeometry<'a>(
&self,
inputgeometry: impl IntoParam<'a, ID2D1Geometry>,
inputgeometrytransform: *const Matrix3x2,
flatteningtolerance: f32,
relation: *mut D2D1_GEOMETRY_RELATION
) -> HRESULT
[src]pub unsafe fn Simplify<'a>(
&self,
simplificationoption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> HRESULT
[src]pub unsafe fn Tessellate<'a>(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
tessellationsink: impl IntoParam<'a, ID2D1TessellationSink>
) -> HRESULT
[src]pub unsafe fn CombineWithGeometry<'a>(
&self,
inputgeometry: impl IntoParam<'a, ID2D1Geometry>,
combinemode: D2D1_COMBINE_MODE,
inputgeometrytransform: *const Matrix3x2,
flatteningtolerance: f32,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> HRESULT
[src]pub unsafe fn Outline<'a>(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> HRESULT
[src]pub unsafe fn ComputeArea(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
area: *mut f32
) -> HRESULT
[src]pub unsafe fn ComputeLength(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
length: *mut f32
) -> HRESULT
[src]pub unsafe fn ComputePointAtLength(
&self,
length: f32,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
point: *mut D2D_POINT_2F,
unittangentvector: *mut D2D_POINT_2F
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID2D1Geometry_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID2D1Geometry
impl !Send for ID2D1Geometry
impl !Sync for ID2D1Geometry
impl Unpin for ID2D1Geometry
impl UnwindSafe for ID2D1Geometry
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more