Struct windows::Win32::Graphics::Direct2D::ID2D1DeviceContext
#[repr(transparent)]pub struct ID2D1DeviceContext(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1DeviceContext
impl ID2D1DeviceContext
pub unsafe fn GetFactory(&self, factory: *mut Option<ID2D1Factory>)
pub unsafe fn CreateGradientStopCollection(
&self,
gradientstops: &[D2D1_GRADIENT_STOP],
colorinterpolationgamma: D2D1_GAMMA,
extendmode: D2D1_EXTEND_MODE
) -> Result<ID2D1GradientStopCollection>
pub unsafe fn CreateGradientStopCollection(
&self,
gradientstops: &[D2D1_GRADIENT_STOP],
colorinterpolationgamma: D2D1_GAMMA,
extendmode: D2D1_EXTEND_MODE
) -> Result<ID2D1GradientStopCollection>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreateLayer(
&self,
size: Option<*const D2D_SIZE_F>
) -> Result<ID2D1Layer>
pub unsafe fn CreateLayer(
&self,
size: Option<*const D2D_SIZE_F>
) -> Result<ID2D1Layer>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreateMesh(&self) -> Result<ID2D1Mesh>
pub unsafe fn DrawLine<'a, P0, P1>(
&self,
point0: D2D_POINT_2F,
point1: D2D_POINT_2F,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
pub unsafe fn DrawLine<'a, P0, P1>(
&self,
point0: D2D_POINT_2F,
point1: D2D_POINT_2F,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawRectangle<'a, P0, P1>(
&self,
rect: *const D2D_RECT_F,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
pub unsafe fn DrawRectangle<'a, P0, P1>(
&self,
rect: *const D2D_RECT_F,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn FillRectangle<'a, P0>(&self, rect: *const D2D_RECT_F, brush: P0)where
P0: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillRectangle<'a, P0>(&self, rect: *const D2D_RECT_F, brush: P0)where
P0: Into<InParam<'a, ID2D1Brush>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawRoundedRectangle<'a, P0, P1>(
&self,
roundedrect: *const D2D1_ROUNDED_RECT,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
pub unsafe fn DrawRoundedRectangle<'a, P0, P1>(
&self,
roundedrect: *const D2D1_ROUNDED_RECT,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn FillRoundedRectangle<'a, P0>(
&self,
roundedrect: *const D2D1_ROUNDED_RECT,
brush: P0
)where
P0: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillRoundedRectangle<'a, P0>(
&self,
roundedrect: *const D2D1_ROUNDED_RECT,
brush: P0
)where
P0: Into<InParam<'a, ID2D1Brush>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawEllipse<'a, P0, P1>(
&self,
ellipse: *const D2D1_ELLIPSE,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
pub unsafe fn DrawEllipse<'a, P0, P1>(
&self,
ellipse: *const D2D1_ELLIPSE,
brush: P0,
strokewidth: f32,
strokestyle: P1
)where
P0: Into<InParam<'a, ID2D1Brush>>,
P1: Into<InParam<'a, ID2D1StrokeStyle>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn FillEllipse<'a, P0>(&self, ellipse: *const D2D1_ELLIPSE, brush: P0)where
P0: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillEllipse<'a, P0>(&self, ellipse: *const D2D1_ELLIPSE, brush: P0)where
P0: Into<InParam<'a, ID2D1Brush>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawGeometry<'a, P0, P1, P2>(
&self,
geometry: P0,
brush: P1,
strokewidth: f32,
strokestyle: P2
)where
P0: Into<InParam<'a, ID2D1Geometry>>,
P1: Into<InParam<'a, ID2D1Brush>>,
P2: Into<InParam<'a, ID2D1StrokeStyle>>,
pub unsafe fn FillGeometry<'a, P0, P1, P2>(
&self,
geometry: P0,
brush: P1,
opacitybrush: P2
)where
P0: Into<InParam<'a, ID2D1Geometry>>,
P1: Into<InParam<'a, ID2D1Brush>>,
P2: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillMesh<'a, P0, P1>(&self, mesh: P0, brush: P1)where
P0: Into<InParam<'a, ID2D1Mesh>>,
P1: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillOpacityMask<'a, P0, P1>(
&self,
opacitymask: P0,
brush: P1,
content: D2D1_OPACITY_MASK_CONTENT,
destinationrectangle: Option<*const D2D_RECT_F>,
sourcerectangle: Option<*const D2D_RECT_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
P1: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillOpacityMask<'a, P0, P1>(
&self,
opacitymask: P0,
brush: P1,
content: D2D1_OPACITY_MASK_CONTENT,
destinationrectangle: Option<*const D2D_RECT_F>,
sourcerectangle: Option<*const D2D_RECT_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
P1: Into<InParam<'a, ID2D1Brush>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawBitmap<'a, P0>(
&self,
bitmap: P0,
destinationrectangle: Option<*const D2D_RECT_F>,
opacity: f32,
interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE,
sourcerectangle: Option<*const D2D_RECT_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
pub unsafe fn DrawBitmap<'a, P0>(
&self,
bitmap: P0,
destinationrectangle: Option<*const D2D_RECT_F>,
opacity: f32,
interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE,
sourcerectangle: Option<*const D2D_RECT_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn SetAntialiasMode(&self, antialiasmode: D2D1_ANTIALIAS_MODE)
pub unsafe fn GetAntialiasMode(&self) -> D2D1_ANTIALIAS_MODE
pub unsafe fn SetTextAntialiasMode(
&self,
textantialiasmode: D2D1_TEXT_ANTIALIAS_MODE
)
pub unsafe fn GetTextAntialiasMode(&self) -> D2D1_TEXT_ANTIALIAS_MODE
pub unsafe fn SetTags(&self, tag1: u64, tag2: u64)
pub unsafe fn GetTags(&self, tag1: Option<*mut u64>, tag2: Option<*mut u64>)
pub unsafe fn PopLayer(&self)
pub unsafe fn Flush(
&self,
tag1: Option<*mut u64>,
tag2: Option<*mut u64>
) -> Result<()>
pub unsafe fn SaveDrawingState<'a, P0>(&self, drawingstateblock: P0)where
P0: Into<InParam<'a, ID2D1DrawingStateBlock>>,
pub unsafe fn RestoreDrawingState<'a, P0>(&self, drawingstateblock: P0)where
P0: Into<InParam<'a, ID2D1DrawingStateBlock>>,
pub unsafe fn PushAxisAlignedClip(
&self,
cliprect: *const D2D_RECT_F,
antialiasmode: D2D1_ANTIALIAS_MODE
)
pub unsafe fn PushAxisAlignedClip(
&self,
cliprect: *const D2D_RECT_F,
antialiasmode: D2D1_ANTIALIAS_MODE
)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn PopAxisAlignedClip(&self)
pub unsafe fn Clear(&self, clearcolor: Option<*const D2D1_COLOR_F>)
pub unsafe fn Clear(&self, clearcolor: Option<*const D2D1_COLOR_F>)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn BeginDraw(&self)
pub unsafe fn EndDraw(
&self,
tag1: Option<*mut u64>,
tag2: Option<*mut u64>
) -> Result<()>
pub unsafe fn SetDpi(&self, dpix: f32, dpiy: f32)
pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32)
pub unsafe fn GetSize(&self) -> D2D_SIZE_F
pub unsafe fn GetSize(&self) -> D2D_SIZE_F
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetPixelSize(&self) -> D2D_SIZE_U
pub unsafe fn GetPixelSize(&self) -> D2D_SIZE_U
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetMaximumBitmapSize(&self) -> u32
pub unsafe fn CreateColorContext(
&self,
space: D2D1_COLOR_SPACE,
profile: Option<&[u8]>
) -> Result<ID2D1ColorContext>
pub unsafe fn CreateColorContextFromFilename<'a, P0>(
&self,
filename: P0
) -> Result<ID2D1ColorContext>where
P0: Into<PCWSTR>,
pub unsafe fn CreateEffect(&self, effectid: *const GUID) -> Result<ID2D1Effect>
pub unsafe fn CreateGradientStopCollection2(
&self,
straightalphagradientstops: &[D2D1_GRADIENT_STOP],
preinterpolationspace: D2D1_COLOR_SPACE,
postinterpolationspace: D2D1_COLOR_SPACE,
bufferprecision: D2D1_BUFFER_PRECISION,
extendmode: D2D1_EXTEND_MODE,
colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE
) -> Result<ID2D1GradientStopCollection1>
pub unsafe fn CreateGradientStopCollection2(
&self,
straightalphagradientstops: &[D2D1_GRADIENT_STOP],
preinterpolationspace: D2D1_COLOR_SPACE,
postinterpolationspace: D2D1_COLOR_SPACE,
bufferprecision: D2D1_BUFFER_PRECISION,
extendmode: D2D1_EXTEND_MODE,
colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE
) -> Result<ID2D1GradientStopCollection1>
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn CreateCommandList(&self) -> Result<ID2D1CommandList>
pub unsafe fn IsBufferPrecisionSupported(
&self,
bufferprecision: D2D1_BUFFER_PRECISION
) -> BOOL
pub unsafe fn IsBufferPrecisionSupported(
&self,
bufferprecision: D2D1_BUFFER_PRECISION
) -> BOOL
Required features: "Win32_Foundation"
pub unsafe fn GetImageLocalBounds<'a, P0>(&self, image: P0) -> Result<D2D_RECT_F>where
P0: Into<InParam<'a, ID2D1Image>>,
pub unsafe fn GetImageLocalBounds<'a, P0>(&self, image: P0) -> Result<D2D_RECT_F>where
P0: Into<InParam<'a, ID2D1Image>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetImageWorldBounds<'a, P0>(&self, image: P0) -> Result<D2D_RECT_F>where
P0: Into<InParam<'a, ID2D1Image>>,
pub unsafe fn GetImageWorldBounds<'a, P0>(&self, image: P0) -> Result<D2D_RECT_F>where
P0: Into<InParam<'a, ID2D1Image>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetDevice(&self, device: *mut Option<ID2D1Device>)
pub unsafe fn SetTarget<'a, P0>(&self, image: P0)where
P0: Into<InParam<'a, ID2D1Image>>,
pub unsafe fn GetTarget(&self, image: Option<*mut Option<ID2D1Image>>)
pub unsafe fn SetRenderingControls(
&self,
renderingcontrols: *const D2D1_RENDERING_CONTROLS
)
pub unsafe fn SetRenderingControls(
&self,
renderingcontrols: *const D2D1_RENDERING_CONTROLS
)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetRenderingControls(
&self,
renderingcontrols: *mut D2D1_RENDERING_CONTROLS
)
pub unsafe fn GetRenderingControls(
&self,
renderingcontrols: *mut D2D1_RENDERING_CONTROLS
)
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn SetPrimitiveBlend(&self, primitiveblend: D2D1_PRIMITIVE_BLEND)
pub unsafe fn GetPrimitiveBlend(&self) -> D2D1_PRIMITIVE_BLEND
pub unsafe fn SetUnitMode(&self, unitmode: D2D1_UNIT_MODE)
pub unsafe fn GetUnitMode(&self) -> D2D1_UNIT_MODE
pub unsafe fn DrawImage<'a, P0>(
&self,
image: P0,
targetoffset: Option<*const D2D_POINT_2F>,
imagerectangle: Option<*const D2D_RECT_F>,
interpolationmode: D2D1_INTERPOLATION_MODE,
compositemode: D2D1_COMPOSITE_MODE
)where
P0: Into<InParam<'a, ID2D1Image>>,
pub unsafe fn DrawImage<'a, P0>(
&self,
image: P0,
targetoffset: Option<*const D2D_POINT_2F>,
imagerectangle: Option<*const D2D_RECT_F>,
interpolationmode: D2D1_INTERPOLATION_MODE,
compositemode: D2D1_COMPOSITE_MODE
)where
P0: Into<InParam<'a, ID2D1Image>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawGdiMetafile<'a, P0>(
&self,
gdimetafile: P0,
targetoffset: Option<*const D2D_POINT_2F>
)where
P0: Into<InParam<'a, ID2D1GdiMetafile>>,
pub unsafe fn DrawGdiMetafile<'a, P0>(
&self,
gdimetafile: P0,
targetoffset: Option<*const D2D_POINT_2F>
)where
P0: Into<InParam<'a, ID2D1GdiMetafile>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn DrawBitmap2<'a, P0>(
&self,
bitmap: P0,
destinationrectangle: Option<*const D2D_RECT_F>,
opacity: f32,
interpolationmode: D2D1_INTERPOLATION_MODE,
sourcerectangle: Option<*const D2D_RECT_F>,
perspectivetransform: Option<*const D2D_MATRIX_4X4_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
pub unsafe fn DrawBitmap2<'a, P0>(
&self,
bitmap: P0,
destinationrectangle: Option<*const D2D_RECT_F>,
opacity: f32,
interpolationmode: D2D1_INTERPOLATION_MODE,
sourcerectangle: Option<*const D2D_RECT_F>,
perspectivetransform: Option<*const D2D_MATRIX_4X4_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn InvalidateEffectInputRectangle<'a, P0>(
&self,
effect: P0,
input: u32,
inputrectangle: *const D2D_RECT_F
) -> Result<()>where
P0: Into<InParam<'a, ID2D1Effect>>,
pub unsafe fn InvalidateEffectInputRectangle<'a, P0>(
&self,
effect: P0,
input: u32,
inputrectangle: *const D2D_RECT_F
) -> Result<()>where
P0: Into<InParam<'a, ID2D1Effect>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetEffectInvalidRectangleCount<'a, P0>(
&self,
effect: P0
) -> Result<u32>where
P0: Into<InParam<'a, ID2D1Effect>>,
pub unsafe fn GetEffectInvalidRectangles<'a, P0>(
&self,
effect: P0,
rectangles: &mut [D2D_RECT_F]
) -> Result<()>where
P0: Into<InParam<'a, ID2D1Effect>>,
pub unsafe fn GetEffectInvalidRectangles<'a, P0>(
&self,
effect: P0,
rectangles: &mut [D2D_RECT_F]
) -> Result<()>where
P0: Into<InParam<'a, ID2D1Effect>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn GetEffectRequiredInputRectangles<'a, P0>(
&self,
rendereffect: P0,
renderimagerectangle: Option<*const D2D_RECT_F>,
inputdescriptions: *const D2D1_EFFECT_INPUT_DESCRIPTION,
requiredinputrects: *mut D2D_RECT_F,
inputcount: u32
) -> Result<()>where
P0: Into<InParam<'a, ID2D1Effect>>,
pub unsafe fn GetEffectRequiredInputRectangles<'a, P0>(
&self,
rendereffect: P0,
renderimagerectangle: Option<*const D2D_RECT_F>,
inputdescriptions: *const D2D1_EFFECT_INPUT_DESCRIPTION,
requiredinputrects: *mut D2D_RECT_F,
inputcount: u32
) -> Result<()>where
P0: Into<InParam<'a, ID2D1Effect>>,
Required features: "Win32_Graphics_Direct2D_Common"
pub unsafe fn FillOpacityMask2<'a, P0, P1>(
&self,
opacitymask: P0,
brush: P1,
destinationrectangle: Option<*const D2D_RECT_F>,
sourcerectangle: Option<*const D2D_RECT_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
P1: Into<InParam<'a, ID2D1Brush>>,
pub unsafe fn FillOpacityMask2<'a, P0, P1>(
&self,
opacitymask: P0,
brush: P1,
destinationrectangle: Option<*const D2D_RECT_F>,
sourcerectangle: Option<*const D2D_RECT_F>
)where
P0: Into<InParam<'a, ID2D1Bitmap>>,
P1: Into<InParam<'a, ID2D1Brush>>,
Required features: "Win32_Graphics_Direct2D_Common"
Trait Implementations§
§impl Clone for ID2D1DeviceContext
impl Clone for ID2D1DeviceContext
§impl Debug for ID2D1DeviceContext
impl Debug for ID2D1DeviceContext
§impl<'a> From<&'a ID2D1DeviceContext> for &'a ID2D1RenderTarget
impl<'a> From<&'a ID2D1DeviceContext> for &'a ID2D1RenderTarget
§fn from(value: &'a ID2D1DeviceContext) -> Self
fn from(value: &'a ID2D1DeviceContext) -> Self
§impl<'a> From<&'a ID2D1DeviceContext> for &'a ID2D1Resource
impl<'a> From<&'a ID2D1DeviceContext> for &'a ID2D1Resource
§fn from(value: &'a ID2D1DeviceContext) -> Self
fn from(value: &'a ID2D1DeviceContext) -> Self
§impl<'a> From<&'a ID2D1DeviceContext> for &'a IUnknown
impl<'a> From<&'a ID2D1DeviceContext> for &'a IUnknown
§fn from(value: &'a ID2D1DeviceContext) -> Self
fn from(value: &'a ID2D1DeviceContext) -> Self
§impl<'a> From<&'a ID2D1DeviceContext1> for &'a ID2D1DeviceContext
impl<'a> From<&'a ID2D1DeviceContext1> for &'a ID2D1DeviceContext
§fn from(value: &'a ID2D1DeviceContext1) -> Self
fn from(value: &'a ID2D1DeviceContext1) -> Self
§impl<'a> From<&'a ID2D1DeviceContext2> for &'a ID2D1DeviceContext
impl<'a> From<&'a ID2D1DeviceContext2> for &'a ID2D1DeviceContext
§fn from(value: &'a ID2D1DeviceContext2) -> Self
fn from(value: &'a ID2D1DeviceContext2) -> Self
§impl<'a> From<&'a ID2D1DeviceContext3> for &'a ID2D1DeviceContext
impl<'a> From<&'a ID2D1DeviceContext3> for &'a ID2D1DeviceContext
§fn from(value: &'a ID2D1DeviceContext3) -> Self
fn from(value: &'a ID2D1DeviceContext3) -> Self
§impl<'a> From<&'a ID2D1DeviceContext4> for &'a ID2D1DeviceContext
impl<'a> From<&'a ID2D1DeviceContext4> for &'a ID2D1DeviceContext
§fn from(value: &'a ID2D1DeviceContext4) -> Self
fn from(value: &'a ID2D1DeviceContext4) -> Self
§impl<'a> From<&'a ID2D1DeviceContext5> for &'a ID2D1DeviceContext
impl<'a> From<&'a ID2D1DeviceContext5> for &'a ID2D1DeviceContext
§fn from(value: &'a ID2D1DeviceContext5) -> Self
fn from(value: &'a ID2D1DeviceContext5) -> Self
§impl<'a> From<&'a ID2D1DeviceContext6> for &'a ID2D1DeviceContext
impl<'a> From<&'a ID2D1DeviceContext6> for &'a ID2D1DeviceContext
§fn from(value: &'a ID2D1DeviceContext6) -> Self
fn from(value: &'a ID2D1DeviceContext6) -> Self
§impl From<&ID2D1DeviceContext> for ID2D1RenderTarget
impl From<&ID2D1DeviceContext> for ID2D1RenderTarget
§fn from(value: &ID2D1DeviceContext) -> Self
fn from(value: &ID2D1DeviceContext) -> Self
§impl From<&ID2D1DeviceContext> for ID2D1Resource
impl From<&ID2D1DeviceContext> for ID2D1Resource
§fn from(value: &ID2D1DeviceContext) -> Self
fn from(value: &ID2D1DeviceContext) -> Self
§impl From<&ID2D1DeviceContext> for IUnknown
impl From<&ID2D1DeviceContext> for IUnknown
§fn from(value: &ID2D1DeviceContext) -> Self
fn from(value: &ID2D1DeviceContext) -> Self
§impl From<&ID2D1DeviceContext1> for ID2D1DeviceContext
impl From<&ID2D1DeviceContext1> for ID2D1DeviceContext
§fn from(value: &ID2D1DeviceContext1) -> Self
fn from(value: &ID2D1DeviceContext1) -> Self
§impl From<&ID2D1DeviceContext2> for ID2D1DeviceContext
impl From<&ID2D1DeviceContext2> for ID2D1DeviceContext
§fn from(value: &ID2D1DeviceContext2) -> Self
fn from(value: &ID2D1DeviceContext2) -> Self
§impl From<&ID2D1DeviceContext3> for ID2D1DeviceContext
impl From<&ID2D1DeviceContext3> for ID2D1DeviceContext
§fn from(value: &ID2D1DeviceContext3) -> Self
fn from(value: &ID2D1DeviceContext3) -> Self
§impl From<&ID2D1DeviceContext4> for ID2D1DeviceContext
impl From<&ID2D1DeviceContext4> for ID2D1DeviceContext
§fn from(value: &ID2D1DeviceContext4) -> Self
fn from(value: &ID2D1DeviceContext4) -> Self
§impl From<&ID2D1DeviceContext5> for ID2D1DeviceContext
impl From<&ID2D1DeviceContext5> for ID2D1DeviceContext
§fn from(value: &ID2D1DeviceContext5) -> Self
fn from(value: &ID2D1DeviceContext5) -> Self
§impl From<&ID2D1DeviceContext6> for ID2D1DeviceContext
impl From<&ID2D1DeviceContext6> for ID2D1DeviceContext
§fn from(value: &ID2D1DeviceContext6) -> Self
fn from(value: &ID2D1DeviceContext6) -> Self
§impl From<ID2D1DeviceContext> for ID2D1RenderTarget
impl From<ID2D1DeviceContext> for ID2D1RenderTarget
§fn from(value: ID2D1DeviceContext) -> Self
fn from(value: ID2D1DeviceContext) -> Self
§impl From<ID2D1DeviceContext> for ID2D1Resource
impl From<ID2D1DeviceContext> for ID2D1Resource
§fn from(value: ID2D1DeviceContext) -> Self
fn from(value: ID2D1DeviceContext) -> Self
§impl From<ID2D1DeviceContext> for IUnknown
impl From<ID2D1DeviceContext> for IUnknown
§fn from(value: ID2D1DeviceContext) -> Self
fn from(value: ID2D1DeviceContext) -> Self
§impl From<ID2D1DeviceContext1> for ID2D1DeviceContext
impl From<ID2D1DeviceContext1> for ID2D1DeviceContext
§fn from(value: ID2D1DeviceContext1) -> Self
fn from(value: ID2D1DeviceContext1) -> Self
§impl From<ID2D1DeviceContext2> for ID2D1DeviceContext
impl From<ID2D1DeviceContext2> for ID2D1DeviceContext
§fn from(value: ID2D1DeviceContext2) -> Self
fn from(value: ID2D1DeviceContext2) -> Self
§impl From<ID2D1DeviceContext3> for ID2D1DeviceContext
impl From<ID2D1DeviceContext3> for ID2D1DeviceContext
§fn from(value: ID2D1DeviceContext3) -> Self
fn from(value: ID2D1DeviceContext3) -> Self
§impl From<ID2D1DeviceContext4> for ID2D1DeviceContext
impl From<ID2D1DeviceContext4> for ID2D1DeviceContext
§fn from(value: ID2D1DeviceContext4) -> Self
fn from(value: ID2D1DeviceContext4) -> Self
§impl From<ID2D1DeviceContext5> for ID2D1DeviceContext
impl From<ID2D1DeviceContext5> for ID2D1DeviceContext
§fn from(value: ID2D1DeviceContext5) -> Self
fn from(value: ID2D1DeviceContext5) -> Self
§impl From<ID2D1DeviceContext6> for ID2D1DeviceContext
impl From<ID2D1DeviceContext6> for ID2D1DeviceContext
§fn from(value: ID2D1DeviceContext6) -> Self
fn from(value: ID2D1DeviceContext6) -> Self
§impl Interface for ID2D1DeviceContext
impl Interface for ID2D1DeviceContext
§impl PartialEq<ID2D1DeviceContext> for ID2D1DeviceContext
impl PartialEq<ID2D1DeviceContext> for ID2D1DeviceContext
§impl Vtable for ID2D1DeviceContext
impl Vtable for ID2D1DeviceContext
type Vtable = ID2D1DeviceContext_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Interface
implementation.