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: *mut Option<ID2D1Geometry>,
geometriescount: u32
) -> Result<ID2D1GeometryGroup>
pub unsafe fn CreateTransformedGeometry<'a>(
&self,
sourcegeometry: impl IntoParam<'a, ID2D1Geometry>,
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>(
&self,
drawingstatedescription: *const D2D1_DRAWING_STATE_DESCRIPTION,
textrenderingparams: impl IntoParam<'a, IDWriteRenderingParams>
) -> Result<ID2D1DrawingStateBlock>
pub unsafe fn CreateWicBitmapRenderTarget<'a>(
&self,
target: impl IntoParam<'a, IWICBitmap>,
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>(
&self,
dxgisurface: impl IntoParam<'a, IDXGISurface>,
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>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>
) -> 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>(
&self,
drawingstatedescription: *const D2D1_DRAWING_STATE_DESCRIPTION1,
textrenderingparams: impl IntoParam<'a, IDWriteRenderingParams>
) -> Result<ID2D1DrawingStateBlock1>
pub unsafe fn CreateGdiMetafile<'a>(
&self,
metafilestream: impl IntoParam<'a, IStream>
) -> Result<ID2D1GdiMetafile>
pub unsafe fn RegisterEffectFromStream<'a>(
&self,
classid: *const Guid,
propertyxml: impl IntoParam<'a, IStream>,
bindings: *const D2D1_PROPERTY_BINDING,
bindingscount: u32,
effectfactory: Option<PD2D1_EFFECT_FACTORY>
) -> Result<()>
pub unsafe fn RegisterEffectFromString<'a>(
&self,
classid: *const Guid,
propertyxml: impl IntoParam<'a, PWSTR>,
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>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>
) -> Result<ID2D1Device1>
pub unsafe fn CreateDevice3<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>
) -> Result<ID2D1Device2>
pub unsafe fn CreateDevice4<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>
) -> Result<ID2D1Device3>
pub unsafe fn CreateDevice5<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>
) -> Result<ID2D1Device4>
pub unsafe fn CreateDevice6<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>
) -> 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.
type Vtable = ID2D1Factory6_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
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
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more