Struct winapi::um::d2d1::ID2D1PathGeometry
source · #[repr(C)]pub struct ID2D1PathGeometry {
pub lpVtbl: *const ID2D1PathGeometryVtbl,
}
Fields§
§lpVtbl: *const ID2D1PathGeometryVtbl
Implementations§
source§impl ID2D1PathGeometry
impl ID2D1PathGeometry
pub unsafe fn Open(&self, geometrySink: *mut *mut ID2D1GeometrySink) -> HRESULT
pub unsafe fn Stream(&self, geometrySink: *mut ID2D1GeometrySink) -> HRESULT
pub unsafe fn GetSegmentCount(&self, count: *mut UINT32) -> HRESULT
pub unsafe fn GetFigureCount(&self, count: *mut UINT32) -> HRESULT
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)
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl Deref for ID2D1PathGeometry
impl Deref for ID2D1PathGeometry
§type Target = ID2D1Geometry
type Target = ID2D1Geometry
The resulting type after dereferencing.
source§fn deref(&self) -> &ID2D1Geometry
fn deref(&self) -> &ID2D1Geometry
Dereferences the value.