Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1Factory6 [−][src]
#[repr(transparent)]pub struct ID2D1Factory6(_);
Implementations
pub unsafe fn CreateRectangleGeometry(
&self,
rectangle: *const D2D_RECT_F
) -> Result<ID2D1RectangleGeometry>
pub unsafe fn CreateRoundedRectangleGeometry(
&self,
roundedrectangle: *const D2D1_ROUNDED_RECT
) -> Result<ID2D1RoundedRectangleGeometry>
pub unsafe fn CreateEllipseGeometry(
&self,
ellipse: *const D2D1_ELLIPSE
) -> Result<ID2D1EllipseGeometry>
pub unsafe fn CreateGeometryGroup(
&self,
fillmode: D2D1_FILL_MODE,
geometries: *const Option<ID2D1Geometry>,
geometriescount: u32
) -> Result<ID2D1GeometryGroup>
pub unsafe fn CreateTransformedGeometry<'a, Param0: IntoParam<'a, ID2D1Geometry>>(
&self,
sourcegeometry: Param0,
transform: *const Matrix3x2
) -> Result<ID2D1TransformedGeometry>
pub unsafe fn CreateStrokeStyle(
&self,
strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES,
dashes: *const f32,
dashescount: u32
) -> Result<ID2D1StrokeStyle>
pub unsafe fn CreateDrawingStateBlock<'a, Param1: IntoParam<'a, IDWriteRenderingParams>>(
&self,
drawingstatedescription: *const D2D1_DRAWING_STATE_DESCRIPTION,
textrenderingparams: Param1
) -> Result<ID2D1DrawingStateBlock>
pub unsafe fn CreateWicBitmapRenderTarget<'a, Param0: IntoParam<'a, IWICBitmap>>(
&self,
target: Param0,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES
) -> Result<ID2D1RenderTarget>
pub unsafe fn CreateHwndRenderTarget(
&self,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES,
hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES
) -> Result<ID2D1HwndRenderTarget>
pub unsafe fn CreateDxgiSurfaceRenderTarget<'a, Param0: IntoParam<'a, IDXGISurface>>(
&self,
dxgisurface: Param0,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES
) -> Result<ID2D1RenderTarget>
pub unsafe fn CreateDCRenderTarget(
&self,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES
) -> Result<ID2D1DCRenderTarget>
pub unsafe fn CreateDevice<'a, Param0: IntoParam<'a, IDXGIDevice>>(
&self,
dxgidevice: Param0
) -> Result<ID2D1Device>
pub unsafe fn CreateStrokeStyle2(
&self,
strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1,
dashes: *const f32,
dashescount: u32
) -> Result<ID2D1StrokeStyle1>
pub unsafe fn CreateDrawingStateBlock2<'a, Param1: IntoParam<'a, IDWriteRenderingParams>>(
&self,
drawingstatedescription: *const D2D1_DRAWING_STATE_DESCRIPTION1,
textrenderingparams: Param1
) -> Result<ID2D1DrawingStateBlock1>
pub unsafe fn CreateGdiMetafile<'a, Param0: IntoParam<'a, IStream>>(
&self,
metafilestream: Param0
) -> Result<ID2D1GdiMetafile>
pub unsafe fn RegisterEffectFromStream<'a, Param1: IntoParam<'a, IStream>>(
&self,
classid: *const Guid,
propertyxml: Param1,
bindings: *const D2D1_PROPERTY_BINDING,
bindingscount: u32,
effectfactory: Option<PD2D1_EFFECT_FACTORY>
) -> Result<()>
pub unsafe fn RegisterEffectFromString<'a, Param1: IntoParam<'a, PWSTR>>(
&self,
classid: *const Guid,
propertyxml: Param1,
bindings: *const D2D1_PROPERTY_BINDING,
bindingscount: u32,
effectfactory: Option<PD2D1_EFFECT_FACTORY>
) -> Result<()>
pub unsafe fn GetRegisteredEffects(
&self,
effects: *mut Guid,
effectscount: u32,
effectsreturned: *mut u32,
effectsregistered: *mut u32
) -> Result<()>
pub unsafe fn CreateDevice2<'a, Param0: IntoParam<'a, IDXGIDevice>>(
&self,
dxgidevice: Param0
) -> Result<ID2D1Device1>
pub unsafe fn CreateDevice3<'a, Param0: IntoParam<'a, IDXGIDevice>>(
&self,
dxgidevice: Param0
) -> Result<ID2D1Device2>
pub unsafe fn CreateDevice4<'a, Param0: IntoParam<'a, IDXGIDevice>>(
&self,
dxgidevice: Param0
) -> Result<ID2D1Device3>
pub unsafe fn CreateDevice5<'a, Param0: IntoParam<'a, IDXGIDevice>>(
&self,
dxgidevice: Param0
) -> Result<ID2D1Device4>
pub unsafe fn CreateDevice6<'a, Param0: IntoParam<'a, IDXGIDevice>>(
&self,
dxgidevice: Param0
) -> Result<ID2D1Device5>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID2D1Factory6
impl !Send for ID2D1Factory6
impl !Sync for ID2D1Factory6
impl Unpin for ID2D1Factory6
impl UnwindSafe for ID2D1Factory6
Blanket Implementations
Mutably borrows from an owned value. Read more