Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1RectangleGeometry [−][src]
#[repr(transparent)]pub struct ID2D1RectangleGeometry(_);
Implementations
pub unsafe fn GetWidenedBounds<'a>(
&self,
strokewidth: f32,
strokestyle: impl IntoParam<'a, ID2D1StrokeStyle>,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32
) -> Result<D2D_RECT_F>
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
) -> Result<BOOL>
pub unsafe fn FillContainsPoint<'a>(
&self,
point: impl IntoParam<'a, D2D_POINT_2F>,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32
) -> Result<BOOL>
pub unsafe fn CompareWithGeometry<'a>(
&self,
inputgeometry: impl IntoParam<'a, ID2D1Geometry>,
inputgeometrytransform: *const Matrix3x2,
flatteningtolerance: f32
) -> Result<D2D1_GEOMETRY_RELATION>
pub unsafe fn Simplify<'a>(
&self,
simplificationoption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> Result<()>
pub unsafe fn Tessellate<'a>(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
tessellationsink: impl IntoParam<'a, ID2D1TessellationSink>
) -> Result<()>
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>
) -> Result<()>
pub unsafe fn Outline<'a>(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> Result<()>
pub unsafe fn ComputeArea(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32
) -> Result<f32>
pub unsafe fn ComputeLength(
&self,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32
) -> Result<f32>
pub unsafe fn ComputePointAtLength(
&self,
length: f32,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
point: *mut D2D_POINT_2F,
unittangentvector: *mut D2D_POINT_2F
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID2D1RectangleGeometry_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
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 ID2D1RectangleGeometry
impl !Send for ID2D1RectangleGeometry
impl !Sync for ID2D1RectangleGeometry
impl Unpin for ID2D1RectangleGeometry
impl UnwindSafe for ID2D1RectangleGeometry
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