Struct windows::Win32::Graphics::Direct2D::ID2D1PathGeometry
#[repr(transparent)]pub struct ID2D1PathGeometry(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1PathGeometry
impl ID2D1PathGeometry
pub unsafe fn GetFactory(&self, factory: *mut Option<ID2D1Factory>)
pub unsafe fn Open(&self) -> Result<ID2D1GeometrySink>
pub unsafe fn Open(&self) -> Result<ID2D1GeometrySink>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn Stream<'a, P0>(&self, geometrysink: P0) -> Result<()>where
P0: Into<InParam<'a, ID2D1GeometrySink>>,
pub unsafe fn Stream<'a, P0>(&self, geometrysink: P0) -> Result<()>where
P0: Into<InParam<'a, ID2D1GeometrySink>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetSegmentCount(&self) -> Result<u32>
pub unsafe fn GetFigureCount(&self) -> Result<u32>
Trait Implementations§
§impl Clone for ID2D1PathGeometry
impl Clone for ID2D1PathGeometry
§impl Debug for ID2D1PathGeometry
impl Debug for ID2D1PathGeometry
§impl<'a> From<&'a ID2D1PathGeometry> for &'a ID2D1Geometry
impl<'a> From<&'a ID2D1PathGeometry> for &'a ID2D1Geometry
§fn from(value: &'a ID2D1PathGeometry) -> Self
fn from(value: &'a ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1PathGeometry> for &'a ID2D1Resource
impl<'a> From<&'a ID2D1PathGeometry> for &'a ID2D1Resource
§fn from(value: &'a ID2D1PathGeometry) -> Self
fn from(value: &'a ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1PathGeometry> for &'a IUnknown
impl<'a> From<&'a ID2D1PathGeometry> for &'a IUnknown
§fn from(value: &'a ID2D1PathGeometry) -> Self
fn from(value: &'a ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1PathGeometry1> for &'a ID2D1PathGeometry
impl<'a> From<&'a ID2D1PathGeometry1> for &'a ID2D1PathGeometry
§fn from(value: &'a ID2D1PathGeometry1) -> Self
fn from(value: &'a ID2D1PathGeometry1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1PathGeometry> for ID2D1Geometry
impl From<&ID2D1PathGeometry> for ID2D1Geometry
§fn from(value: &ID2D1PathGeometry) -> Self
fn from(value: &ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1PathGeometry> for ID2D1Resource
impl From<&ID2D1PathGeometry> for ID2D1Resource
§fn from(value: &ID2D1PathGeometry) -> Self
fn from(value: &ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1PathGeometry> for IUnknown
impl From<&ID2D1PathGeometry> for IUnknown
§fn from(value: &ID2D1PathGeometry) -> Self
fn from(value: &ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1PathGeometry1> for ID2D1PathGeometry
impl From<&ID2D1PathGeometry1> for ID2D1PathGeometry
§fn from(value: &ID2D1PathGeometry1) -> Self
fn from(value: &ID2D1PathGeometry1) -> Self
Converts to this type from the input type.
§impl From<ID2D1PathGeometry> for ID2D1Geometry
impl From<ID2D1PathGeometry> for ID2D1Geometry
§fn from(value: ID2D1PathGeometry) -> Self
fn from(value: ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1PathGeometry> for ID2D1Resource
impl From<ID2D1PathGeometry> for ID2D1Resource
§fn from(value: ID2D1PathGeometry) -> Self
fn from(value: ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1PathGeometry> for IUnknown
impl From<ID2D1PathGeometry> for IUnknown
§fn from(value: ID2D1PathGeometry) -> Self
fn from(value: ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1PathGeometry1> for ID2D1PathGeometry
impl From<ID2D1PathGeometry1> for ID2D1PathGeometry
§fn from(value: ID2D1PathGeometry1) -> Self
fn from(value: ID2D1PathGeometry1) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1PathGeometry
impl Interface for ID2D1PathGeometry
§impl PartialEq<ID2D1PathGeometry> for ID2D1PathGeometry
impl PartialEq<ID2D1PathGeometry> for ID2D1PathGeometry
§impl Vtable for ID2D1PathGeometry
impl Vtable for ID2D1PathGeometry
type Vtable = ID2D1PathGeometry_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.