#[repr(C)]pub struct ID2D1RectangleGeometry {
pub lpVtbl: *const ID2D1RectangleGeometryVtbl,
}
Fields§
§lpVtbl: *const ID2D1RectangleGeometryVtbl
Implementations§
Source§impl ID2D1RectangleGeometry
impl ID2D1RectangleGeometry
pub unsafe fn GetRect(&self, rect: *mut D2D1_RECT_F)
Methods from Deref<Target = ID2D1Geometry>§
pub unsafe fn GetBounds( &self, worldTransform: *const D2D1_MATRIX_3X2_F, bounds: *mut D2D1_RECT_F, ) -> HRESULT
pub unsafe fn GetWidenedBounds( &self, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, bounds: *mut D2D1_RECT_F, ) -> HRESULT
pub unsafe fn StrokeContainsPoint( &self, point: D2D1_POINT_2F, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, contains: *mut BOOL, ) -> HRESULT
pub unsafe fn FillContainsPoint( &self, point: D2D1_POINT_2F, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, contains: *mut BOOL, ) -> HRESULT
pub unsafe fn CompareWithGeometry( &self, inputGeometry: *mut ID2D1Geometry, inputGeometryTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, relation: *mut D2D1_GEOMETRY_RELATION, ) -> HRESULT
pub unsafe fn Simplify( &self, simplificationOption: D2D1_GEOMETRY_SIMPLIFICATION_OPTION, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink, ) -> HRESULT
pub unsafe fn Tessellate( &self, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, tessellationSink: *mut ID2D1TessellationSink, ) -> HRESULT
pub unsafe fn CombineWithGeometry( &self, inputGeometry: *mut ID2D1Geometry, combineMode: D2D1_COMBINE_MODE, inputGeometryTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink, ) -> HRESULT
pub unsafe fn Outline( &self, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink, ) -> HRESULT
pub unsafe fn ComputeArea( &self, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, area: *mut FLOAT, ) -> HRESULT
pub unsafe fn ComputeLength( &self, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, length: *mut FLOAT, ) -> HRESULT
pub unsafe fn ComputePointAtLength( &self, length: FLOAT, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, point: *mut D2D1_POINT_2F, unitTangentVector: *mut D2D1_POINT_2F, ) -> HRESULT
pub unsafe fn Widen( &self, strokeWidth: FLOAT, strokeStyle: *mut ID2D1StrokeStyle, worldTransform: *const D2D1_MATRIX_3X2_F, flatteningTolerance: FLOAT, geometrySink: *mut ID2D1SimplifiedGeometrySink, ) -> HRESULT
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1RectangleGeometry
impl Deref for ID2D1RectangleGeometry
Source§type Target = ID2D1Geometry
type Target = ID2D1Geometry
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Geometry
fn deref(&self) -> &ID2D1Geometry
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1RectangleGeometry
impl RefUnwindSafe for ID2D1RectangleGeometry
impl !Send for ID2D1RectangleGeometry
impl !Sync for ID2D1RectangleGeometry
impl Unpin for ID2D1RectangleGeometry
impl UnwindSafe for ID2D1RectangleGeometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more