Struct windows::Win32::Graphics::Direct2D::ID2D1GeometrySink
#[repr(transparent)]pub struct ID2D1GeometrySink(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
, "Win32_Graphics_Direct2D_Common"
Implementations§
§impl ID2D1GeometrySink
impl ID2D1GeometrySink
pub unsafe fn SetFillMode(&self, fillmode: D2D1_FILL_MODE)
pub unsafe fn SetFillMode(&self, fillmode: D2D1_FILL_MODE)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn SetSegmentFlags(&self, vertexflags: D2D1_PATH_SEGMENT)
pub unsafe fn SetSegmentFlags(&self, vertexflags: D2D1_PATH_SEGMENT)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn BeginFigure(
&self,
startpoint: D2D_POINT_2F,
figurebegin: D2D1_FIGURE_BEGIN
)
pub unsafe fn BeginFigure(
&self,
startpoint: D2D_POINT_2F,
figurebegin: D2D1_FIGURE_BEGIN
)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddLines(&self, points: &[D2D_POINT_2F])
pub unsafe fn AddLines(&self, points: &[D2D_POINT_2F])
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddBeziers(&self, beziers: &[D2D1_BEZIER_SEGMENT])
pub unsafe fn AddBeziers(&self, beziers: &[D2D1_BEZIER_SEGMENT])
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn EndFigure(&self, figureend: D2D1_FIGURE_END)
pub unsafe fn EndFigure(&self, figureend: D2D1_FIGURE_END)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddLine(&self, point: D2D_POINT_2F)
pub unsafe fn AddLine(&self, point: D2D_POINT_2F)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddBezier(&self, bezier: *const D2D1_BEZIER_SEGMENT)
pub unsafe fn AddBezier(&self, bezier: *const D2D1_BEZIER_SEGMENT)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddQuadraticBezier(
&self,
bezier: *const D2D1_QUADRATIC_BEZIER_SEGMENT
)
pub unsafe fn AddQuadraticBezier(
&self,
bezier: *const D2D1_QUADRATIC_BEZIER_SEGMENT
)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddQuadraticBeziers(
&self,
beziers: &[D2D1_QUADRATIC_BEZIER_SEGMENT]
)
pub unsafe fn AddQuadraticBeziers(
&self,
beziers: &[D2D1_QUADRATIC_BEZIER_SEGMENT]
)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn AddArc(&self, arc: *const D2D1_ARC_SEGMENT)
pub unsafe fn AddArc(&self, arc: *const D2D1_ARC_SEGMENT)
Required features: "Win32_Graphics_Direct2D_Common"
Trait Implementations§
§impl Clone for ID2D1GeometrySink
impl Clone for ID2D1GeometrySink
§impl Debug for ID2D1GeometrySink
impl Debug for ID2D1GeometrySink
§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 ID2D1GeometrySink> for &'a IUnknown
impl<'a> From<&'a ID2D1GeometrySink> for &'a IUnknown
§fn from(value: &'a ID2D1GeometrySink) -> Self
fn from(value: &'a ID2D1GeometrySink) -> 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<&ID2D1GeometrySink> for IUnknown
impl From<&ID2D1GeometrySink> for IUnknown
§fn from(value: &ID2D1GeometrySink) -> Self
fn from(value: &ID2D1GeometrySink) -> 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<ID2D1GeometrySink> for IUnknown
impl From<ID2D1GeometrySink> for IUnknown
§fn from(value: ID2D1GeometrySink) -> Self
fn from(value: ID2D1GeometrySink) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1GeometrySink
impl Interface for ID2D1GeometrySink
§impl PartialEq<ID2D1GeometrySink> for ID2D1GeometrySink
impl PartialEq<ID2D1GeometrySink> for ID2D1GeometrySink
§impl Vtable for ID2D1GeometrySink
impl Vtable for ID2D1GeometrySink
type Vtable = ID2D1GeometrySink_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.