Struct windows::Win32::Graphics::Direct2D::ID2D1StrokeStyle
#[repr(transparent)]pub struct ID2D1StrokeStyle(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1StrokeStyle
impl ID2D1StrokeStyle
pub unsafe fn GetFactory(&self, factory: *mut Option<ID2D1Factory>)
pub unsafe fn GetStartCap(&self) -> D2D1_CAP_STYLE
pub unsafe fn GetEndCap(&self) -> D2D1_CAP_STYLE
pub unsafe fn GetDashCap(&self) -> D2D1_CAP_STYLE
pub unsafe fn GetMiterLimit(&self) -> f32
pub unsafe fn GetLineJoin(&self) -> D2D1_LINE_JOIN
pub unsafe fn GetDashOffset(&self) -> f32
pub unsafe fn GetDashStyle(&self) -> D2D1_DASH_STYLE
pub unsafe fn GetDashesCount(&self) -> u32
pub unsafe fn GetDashes(&self, dashes: &mut [f32])
Trait Implementations§
§impl Clone for ID2D1StrokeStyle
impl Clone for ID2D1StrokeStyle
§impl Debug for ID2D1StrokeStyle
impl Debug for ID2D1StrokeStyle
§impl<'a> From<&'a ID2D1StrokeStyle> for &'a ID2D1Resource
impl<'a> From<&'a ID2D1StrokeStyle> for &'a ID2D1Resource
§fn from(value: &'a ID2D1StrokeStyle) -> Self
fn from(value: &'a ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1StrokeStyle> for &'a IUnknown
impl<'a> From<&'a ID2D1StrokeStyle> for &'a IUnknown
§fn from(value: &'a ID2D1StrokeStyle) -> Self
fn from(value: &'a ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1StrokeStyle1> for &'a ID2D1StrokeStyle
impl<'a> From<&'a ID2D1StrokeStyle1> for &'a ID2D1StrokeStyle
§fn from(value: &'a ID2D1StrokeStyle1) -> Self
fn from(value: &'a ID2D1StrokeStyle1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1StrokeStyle> for ID2D1Resource
impl From<&ID2D1StrokeStyle> for ID2D1Resource
§fn from(value: &ID2D1StrokeStyle) -> Self
fn from(value: &ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl From<&ID2D1StrokeStyle> for IUnknown
impl From<&ID2D1StrokeStyle> for IUnknown
§fn from(value: &ID2D1StrokeStyle) -> Self
fn from(value: &ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl From<&ID2D1StrokeStyle1> for ID2D1StrokeStyle
impl From<&ID2D1StrokeStyle1> for ID2D1StrokeStyle
§fn from(value: &ID2D1StrokeStyle1) -> Self
fn from(value: &ID2D1StrokeStyle1) -> Self
Converts to this type from the input type.
§impl From<ID2D1StrokeStyle> for ID2D1Resource
impl From<ID2D1StrokeStyle> for ID2D1Resource
§fn from(value: ID2D1StrokeStyle) -> Self
fn from(value: ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl From<ID2D1StrokeStyle> for IUnknown
impl From<ID2D1StrokeStyle> for IUnknown
§fn from(value: ID2D1StrokeStyle) -> Self
fn from(value: ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl From<ID2D1StrokeStyle1> for ID2D1StrokeStyle
impl From<ID2D1StrokeStyle1> for ID2D1StrokeStyle
§fn from(value: ID2D1StrokeStyle1) -> Self
fn from(value: ID2D1StrokeStyle1) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1StrokeStyle
impl Interface for ID2D1StrokeStyle
§impl PartialEq<ID2D1StrokeStyle> for ID2D1StrokeStyle
impl PartialEq<ID2D1StrokeStyle> for ID2D1StrokeStyle
§impl Vtable for ID2D1StrokeStyle
impl Vtable for ID2D1StrokeStyle
type Vtable = ID2D1StrokeStyle_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.