Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1GeometryGroup [−][src]
#[repr(transparent)]pub struct ID2D1GeometryGroup(_);
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<()>
pub unsafe fn Widen<'a>(
&self,
strokewidth: f32,
strokestyle: impl IntoParam<'a, ID2D1StrokeStyle>,
worldtransform: *const Matrix3x2,
flatteningtolerance: f32,
geometrysink: impl IntoParam<'a, ID2D1SimplifiedGeometrySink>
) -> Result<()>
pub unsafe fn GetSourceGeometries(
&self,
geometries: *mut Option<ID2D1Geometry>,
geometriescount: u32
)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 ID2D1GeometryGroup
impl !Send for ID2D1GeometryGroup
impl !Sync for ID2D1GeometryGroup
impl Unpin for ID2D1GeometryGroup
impl UnwindSafe for ID2D1GeometryGroup
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more