Struct windows::Win32::Graphics::Direct2D::ID2D1Factory6
#[repr(transparent)]pub struct ID2D1Factory6(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1Factory6
impl ID2D1Factory6
pub unsafe fn ReloadSystemMetrics(&self) -> Result<()>
pub unsafe fn GetDesktopDpi(&self, dpix: *mut f32, dpiy: *mut f32)
pub unsafe fn CreateRectangleGeometry(
&self,
rectangle: *const D2D_RECT_F
) -> Result<ID2D1RectangleGeometry>
pub unsafe fn CreateRectangleGeometry(
&self,
rectangle: *const D2D_RECT_F
) -> Result<ID2D1RectangleGeometry>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreateRoundedRectangleGeometry(
&self,
roundedrectangle: *const D2D1_ROUNDED_RECT
) -> Result<ID2D1RoundedRectangleGeometry>
pub unsafe fn CreateRoundedRectangleGeometry(
&self,
roundedrectangle: *const D2D1_ROUNDED_RECT
) -> Result<ID2D1RoundedRectangleGeometry>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreateEllipseGeometry(
&self,
ellipse: *const D2D1_ELLIPSE
) -> Result<ID2D1EllipseGeometry>
pub unsafe fn CreateEllipseGeometry(
&self,
ellipse: *const D2D1_ELLIPSE
) -> Result<ID2D1EllipseGeometry>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreateGeometryGroup(
&self,
fillmode: D2D1_FILL_MODE,
geometries: &[Option<ID2D1Geometry>]
) -> Result<ID2D1GeometryGroup>
pub unsafe fn CreateGeometryGroup(
&self,
fillmode: D2D1_FILL_MODE,
geometries: &[Option<ID2D1Geometry>]
) -> Result<ID2D1GeometryGroup>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreatePathGeometry(&self) -> Result<ID2D1PathGeometry>
pub unsafe fn CreateStrokeStyle(
&self,
strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES,
dashes: Option<&[f32]>
) -> Result<ID2D1StrokeStyle>
pub unsafe fn CreateStrokeStyle2(
&self,
strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1,
dashes: Option<&[f32]>
) -> Result<ID2D1StrokeStyle1>
pub unsafe fn CreatePathGeometry2(&self) -> Result<ID2D1PathGeometry1>
pub unsafe fn RegisterEffectFromString<'a, P0>(
&self,
classid: *const GUID,
propertyxml: P0,
bindings: Option<&[D2D1_PROPERTY_BINDING]>,
effectfactory: PD2D1_EFFECT_FACTORY
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn UnregisterEffect(&self, classid: *const GUID) -> Result<()>
pub unsafe fn GetRegisteredEffects(
&self,
effects: Option<&mut [GUID]>,
effectsreturned: Option<*mut u32>,
effectsregistered: Option<*mut u32>
) -> Result<()>
pub unsafe fn GetEffectProperties(
&self,
effectid: *const GUID
) -> Result<ID2D1Properties>
Trait Implementations§
§impl Clone for ID2D1Factory6
impl Clone for ID2D1Factory6
§impl Debug for ID2D1Factory6
impl Debug for ID2D1Factory6
§impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory
impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory1
impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory1
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory2
impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory2
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory3
impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory3
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory4
impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory4
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory5
impl<'a> From<&'a ID2D1Factory6> for &'a ID2D1Factory5
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory6> for &'a IUnknown
impl<'a> From<&'a ID2D1Factory6> for &'a IUnknown
§fn from(value: &'a ID2D1Factory6) -> Self
fn from(value: &'a ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1Factory7> for &'a ID2D1Factory6
impl<'a> From<&'a ID2D1Factory7> for &'a ID2D1Factory6
§fn from(value: &'a ID2D1Factory7) -> Self
fn from(value: &'a ID2D1Factory7) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for ID2D1Factory
impl From<&ID2D1Factory6> for ID2D1Factory
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for ID2D1Factory1
impl From<&ID2D1Factory6> for ID2D1Factory1
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for ID2D1Factory2
impl From<&ID2D1Factory6> for ID2D1Factory2
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for ID2D1Factory3
impl From<&ID2D1Factory6> for ID2D1Factory3
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for ID2D1Factory4
impl From<&ID2D1Factory6> for ID2D1Factory4
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for ID2D1Factory5
impl From<&ID2D1Factory6> for ID2D1Factory5
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory6> for IUnknown
impl From<&ID2D1Factory6> for IUnknown
§fn from(value: &ID2D1Factory6) -> Self
fn from(value: &ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Factory7> for ID2D1Factory6
impl From<&ID2D1Factory7> for ID2D1Factory6
§fn from(value: &ID2D1Factory7) -> Self
fn from(value: &ID2D1Factory7) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for ID2D1Factory
impl From<ID2D1Factory6> for ID2D1Factory
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for ID2D1Factory1
impl From<ID2D1Factory6> for ID2D1Factory1
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for ID2D1Factory2
impl From<ID2D1Factory6> for ID2D1Factory2
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for ID2D1Factory3
impl From<ID2D1Factory6> for ID2D1Factory3
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for ID2D1Factory4
impl From<ID2D1Factory6> for ID2D1Factory4
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for ID2D1Factory5
impl From<ID2D1Factory6> for ID2D1Factory5
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory6> for IUnknown
impl From<ID2D1Factory6> for IUnknown
§fn from(value: ID2D1Factory6) -> Self
fn from(value: ID2D1Factory6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Factory7> for ID2D1Factory6
impl From<ID2D1Factory7> for ID2D1Factory6
§fn from(value: ID2D1Factory7) -> Self
fn from(value: ID2D1Factory7) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1Factory6
impl Interface for ID2D1Factory6
§impl PartialEq<ID2D1Factory6> for ID2D1Factory6
impl PartialEq<ID2D1Factory6> for ID2D1Factory6
§impl Vtable for ID2D1Factory6
impl Vtable for ID2D1Factory6
type Vtable = ID2D1Factory6_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.