Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1Factory7 [−][src]
#[repr(transparent)]pub struct ID2D1Factory7(_);
Implementations
pub unsafe fn CreateRectangleGeometry(
&self,
rectangle: *const D2D_RECT_F,
rectanglegeometry: *mut Option<ID2D1RectangleGeometry>
) -> HRESULT
[src]pub unsafe fn CreateRoundedRectangleGeometry(
&self,
roundedrectangle: *const D2D1_ROUNDED_RECT,
roundedrectanglegeometry: *mut Option<ID2D1RoundedRectangleGeometry>
) -> HRESULT
[src]pub unsafe fn CreateEllipseGeometry(
&self,
ellipse: *const D2D1_ELLIPSE,
ellipsegeometry: *mut Option<ID2D1EllipseGeometry>
) -> HRESULT
[src]pub unsafe fn CreateGeometryGroup(
&self,
fillmode: D2D1_FILL_MODE,
geometries: *mut Option<ID2D1Geometry>,
geometriescount: u32,
geometrygroup: *mut Option<ID2D1GeometryGroup>
) -> HRESULT
[src]pub unsafe fn CreateTransformedGeometry<'a>(
&self,
sourcegeometry: impl IntoParam<'a, ID2D1Geometry>,
transform: *const Matrix3x2,
transformedgeometry: *mut Option<ID2D1TransformedGeometry>
) -> HRESULT
[src]pub unsafe fn CreatePathGeometry(
&self,
pathgeometry: *mut Option<ID2D1PathGeometry>
) -> HRESULT
[src]pub unsafe fn CreateStrokeStyle(
&self,
strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES,
dashes: *const f32,
dashescount: u32,
strokestyle: *mut Option<ID2D1StrokeStyle>
) -> HRESULT
[src]pub unsafe fn CreateDrawingStateBlock<'a>(
&self,
drawingstatedescription: *const D2D1_DRAWING_STATE_DESCRIPTION,
textrenderingparams: impl IntoParam<'a, IDWriteRenderingParams>,
drawingstateblock: *mut Option<ID2D1DrawingStateBlock>
) -> HRESULT
[src]pub unsafe fn CreateWicBitmapRenderTarget<'a>(
&self,
target: impl IntoParam<'a, IWICBitmap>,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES,
rendertarget: *mut Option<ID2D1RenderTarget>
) -> HRESULT
[src]pub unsafe fn CreateHwndRenderTarget(
&self,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES,
hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES,
hwndrendertarget: *mut Option<ID2D1HwndRenderTarget>
) -> HRESULT
[src]pub unsafe fn CreateDxgiSurfaceRenderTarget<'a>(
&self,
dxgisurface: impl IntoParam<'a, IDXGISurface>,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES,
rendertarget: *mut Option<ID2D1RenderTarget>
) -> HRESULT
[src]pub unsafe fn CreateDCRenderTarget(
&self,
rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES,
dcrendertarget: *mut Option<ID2D1DCRenderTarget>
) -> HRESULT
[src]pub unsafe fn CreateDevice<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice: *mut Option<ID2D1Device>
) -> HRESULT
[src]pub unsafe fn CreateStrokeStyle2(
&self,
strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1,
dashes: *const f32,
dashescount: u32,
strokestyle: *mut Option<ID2D1StrokeStyle1>
) -> HRESULT
[src]pub unsafe fn CreatePathGeometry2(
&self,
pathgeometry: *mut Option<ID2D1PathGeometry1>
) -> HRESULT
[src]pub unsafe fn CreateDrawingStateBlock2<'a>(
&self,
drawingstatedescription: *const D2D1_DRAWING_STATE_DESCRIPTION1,
textrenderingparams: impl IntoParam<'a, IDWriteRenderingParams>,
drawingstateblock: *mut Option<ID2D1DrawingStateBlock1>
) -> HRESULT
[src]pub unsafe fn CreateGdiMetafile<'a>(
&self,
metafilestream: impl IntoParam<'a, IStream>,
metafile: *mut Option<ID2D1GdiMetafile>
) -> HRESULT
[src]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>
) -> HRESULT
[src]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>
) -> HRESULT
[src]pub unsafe fn GetRegisteredEffects(
&self,
effects: *mut Guid,
effectscount: u32,
effectsreturned: *mut u32,
effectsregistered: *mut u32
) -> HRESULT
[src]pub unsafe fn GetEffectProperties(
&self,
effectid: *const Guid,
properties: *mut Option<ID2D1Properties>
) -> HRESULT
[src]pub unsafe fn CreateDevice2<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice1: *mut Option<ID2D1Device1>
) -> HRESULT
[src]pub unsafe fn CreateDevice3<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice2: *mut Option<ID2D1Device2>
) -> HRESULT
[src]pub unsafe fn CreateDevice4<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice3: *mut Option<ID2D1Device3>
) -> HRESULT
[src]pub unsafe fn CreateDevice5<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice4: *mut Option<ID2D1Device4>
) -> HRESULT
[src]pub unsafe fn CreateDevice6<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice5: *mut Option<ID2D1Device5>
) -> HRESULT
[src]pub unsafe fn CreateDevice7<'a>(
&self,
dxgidevice: impl IntoParam<'a, IDXGIDevice>,
d2ddevice6: *mut Option<ID2D1Device6>
) -> HRESULT
[src]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.
type Vtable = ID2D1Factory7_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method 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 ID2D1Factory7
impl !Send for ID2D1Factory7
impl !Sync for ID2D1Factory7
impl Unpin for ID2D1Factory7
impl UnwindSafe for ID2D1Factory7
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