#[repr(transparent)]pub struct ID2D1SimplifiedGeometrySink(_);
Expand description
Required features: "Win32_Graphics_Direct2D_Common"
Implementations§
§impl ID2D1SimplifiedGeometrySink
impl ID2D1SimplifiedGeometrySink
pub unsafe fn SetFillMode(&self, fillmode: D2D1_FILL_MODE)
pub unsafe fn SetSegmentFlags(&self, vertexflags: D2D1_PATH_SEGMENT)
pub unsafe fn BeginFigure(
&self,
startpoint: D2D_POINT_2F,
figurebegin: D2D1_FIGURE_BEGIN
)
pub unsafe fn AddLines(&self, points: &[D2D_POINT_2F])
pub unsafe fn AddBeziers(&self, beziers: &[D2D1_BEZIER_SEGMENT])
pub unsafe fn EndFigure(&self, figureend: D2D1_FIGURE_END)
pub unsafe fn Close(&self) -> Result<()>
Trait Implementations§
§impl Clone for ID2D1SimplifiedGeometrySink
impl Clone for ID2D1SimplifiedGeometrySink
§impl Debug for ID2D1SimplifiedGeometrySink
impl Debug for ID2D1SimplifiedGeometrySink
§impl<'a> From<&'a ID2D1GeometrySink> for &'a ID2D1SimplifiedGeometrySink
impl<'a> From<&'a ID2D1GeometrySink> for &'a ID2D1SimplifiedGeometrySink
§fn from(value: &'a ID2D1GeometrySink) -> Self
fn from(value: &'a ID2D1GeometrySink) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1SimplifiedGeometrySink> for &'a IUnknown
impl<'a> From<&'a ID2D1SimplifiedGeometrySink> for &'a IUnknown
§fn from(value: &'a ID2D1SimplifiedGeometrySink) -> Self
fn from(value: &'a ID2D1SimplifiedGeometrySink) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GeometrySink> for ID2D1SimplifiedGeometrySink
impl From<&ID2D1GeometrySink> for ID2D1SimplifiedGeometrySink
§fn from(value: &ID2D1GeometrySink) -> Self
fn from(value: &ID2D1GeometrySink) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SimplifiedGeometrySink> for IUnknown
impl From<&ID2D1SimplifiedGeometrySink> for IUnknown
§fn from(value: &ID2D1SimplifiedGeometrySink) -> Self
fn from(value: &ID2D1SimplifiedGeometrySink) -> Self
Converts to this type from the input type.
§impl From<ID2D1GeometrySink> for ID2D1SimplifiedGeometrySink
impl From<ID2D1GeometrySink> for ID2D1SimplifiedGeometrySink
§fn from(value: ID2D1GeometrySink) -> Self
fn from(value: ID2D1GeometrySink) -> Self
Converts to this type from the input type.
§impl From<ID2D1SimplifiedGeometrySink> for IUnknown
impl From<ID2D1SimplifiedGeometrySink> for IUnknown
§fn from(value: ID2D1SimplifiedGeometrySink) -> Self
fn from(value: ID2D1SimplifiedGeometrySink) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1SimplifiedGeometrySink
impl Interface for ID2D1SimplifiedGeometrySink
§impl PartialEq<ID2D1SimplifiedGeometrySink> for ID2D1SimplifiedGeometrySink
impl PartialEq<ID2D1SimplifiedGeometrySink> for ID2D1SimplifiedGeometrySink
§impl Vtable for ID2D1SimplifiedGeometrySink
impl Vtable for ID2D1SimplifiedGeometrySink
type Vtable = ID2D1SimplifiedGeometrySink_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.