pub trait ID2D1Geometry_Impl: Sized + ID2D1Resource_Impl {
Show 13 methods // Required methods fn GetBounds(&self, worldtransform: *const Matrix3x2) -> Result<D2D_RECT_F>; fn GetWidenedBounds( &self, strokewidth: f32, strokestyle: Option<&ID2D1StrokeStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<D2D_RECT_F>; fn StrokeContainsPoint( &self, point: &D2D_POINT_2F, strokewidth: f32, strokestyle: Option<&ID2D1StrokeStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<BOOL>; fn FillContainsPoint( &self, point: &D2D_POINT_2F, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<BOOL>; fn CompareWithGeometry( &self, inputgeometry: Option<&ID2D1Geometry>, inputgeometrytransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<D2D1_GEOMETRY_RELATION>; fn Simplify( &self, simplificationoption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>; fn Tessellate( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32, tessellationsink: Option<&ID2D1TessellationSink> ) -> Result<()>; fn CombineWithGeometry( &self, inputgeometry: Option<&ID2D1Geometry>, combinemode: D2D1_COMBINE_MODE, inputgeometrytransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>; fn Outline( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>; fn ComputeArea( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<f32>; fn ComputeLength( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<f32>; fn ComputePointAtLength( &self, length: f32, worldtransform: *const Matrix3x2, flatteningtolerance: f32, point: *mut D2D_POINT_2F, unittangentvector: *mut D2D_POINT_2F ) -> Result<()>; fn Widen( &self, strokewidth: f32, strokestyle: Option<&ID2D1StrokeStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>;
}

Required Methods§

fn GetBounds(&self, worldtransform: *const Matrix3x2) -> Result<D2D_RECT_F>

fn GetWidenedBounds( &self, strokewidth: f32, strokestyle: Option<&ID2D1StrokeStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<D2D_RECT_F>

fn StrokeContainsPoint( &self, point: &D2D_POINT_2F, strokewidth: f32, strokestyle: Option<&ID2D1StrokeStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<BOOL>

fn FillContainsPoint( &self, point: &D2D_POINT_2F, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<BOOL>

fn CompareWithGeometry( &self, inputgeometry: Option<&ID2D1Geometry>, inputgeometrytransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<D2D1_GEOMETRY_RELATION>

fn Simplify( &self, simplificationoption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>

fn Tessellate( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32, tessellationsink: Option<&ID2D1TessellationSink> ) -> Result<()>

fn CombineWithGeometry( &self, inputgeometry: Option<&ID2D1Geometry>, combinemode: D2D1_COMBINE_MODE, inputgeometrytransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>

fn Outline( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>

fn ComputeArea( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<f32>

fn ComputeLength( &self, worldtransform: *const Matrix3x2, flatteningtolerance: f32 ) -> Result<f32>

fn ComputePointAtLength( &self, length: f32, worldtransform: *const Matrix3x2, flatteningtolerance: f32, point: *mut D2D_POINT_2F, unittangentvector: *mut D2D_POINT_2F ) -> Result<()>

fn Widen( &self, strokewidth: f32, strokestyle: Option<&ID2D1StrokeStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink> ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§