Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1Device2 [−][src]
#[repr(transparent)]pub struct ID2D1Device2(_);
Implementations
pub unsafe fn CreateDeviceContext(
&self,
options: D2D1_DEVICE_CONTEXT_OPTIONS
) -> Result<ID2D1DeviceContext>
pub unsafe fn CreatePrintControl<'a, Param0: IntoParam<'a, IWICImagingFactory>, Param1: IntoParam<'a, IPrintDocumentPackageTarget>>(
&self,
wicfactory: Param0,
documenttarget: Param1,
printcontrolproperties: *const D2D1_PRINT_CONTROL_PROPERTIES
) -> Result<ID2D1PrintControl>
pub unsafe fn CreateDeviceContext2(
&self,
options: D2D1_DEVICE_CONTEXT_OPTIONS
) -> Result<ID2D1DeviceContext1>
pub unsafe fn CreateDeviceContext3(
&self,
options: D2D1_DEVICE_CONTEXT_OPTIONS
) -> Result<ID2D1DeviceContext2>
pub unsafe fn FlushDeviceContexts<'a, Param0: IntoParam<'a, ID2D1Bitmap>>(
&self,
bitmap: Param0
)
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 ID2D1Device2
impl !Send for ID2D1Device2
impl !Sync for ID2D1Device2
impl Unpin for ID2D1Device2
impl UnwindSafe for ID2D1Device2
Blanket Implementations
Mutably borrows from an owned value. Read more