Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1CommandSink [−][src]
#[repr(transparent)]pub struct ID2D1CommandSink(_);
Implementations
pub unsafe fn SetTextAntialiasMode(
&self,
textantialiasmode: D2D1_TEXT_ANTIALIAS_MODE
) -> Result<()>
pub unsafe fn SetTextRenderingParams<'a, Param0: IntoParam<'a, IDWriteRenderingParams>>(
&self,
textrenderingparams: Param0
) -> Result<()>
pub unsafe fn DrawGlyphRun<'a, Param0: IntoParam<'a, D2D_POINT_2F>, Param3: IntoParam<'a, ID2D1Brush>>(
&self,
baselineorigin: Param0,
glyphrun: *const DWRITE_GLYPH_RUN,
glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
foregroundbrush: Param3,
measuringmode: DWRITE_MEASURING_MODE
) -> Result<()>
pub unsafe fn DrawLine<'a, Param0: IntoParam<'a, D2D_POINT_2F>, Param1: IntoParam<'a, D2D_POINT_2F>, Param2: IntoParam<'a, ID2D1Brush>, Param4: IntoParam<'a, ID2D1StrokeStyle>>(
&self,
point0: Param0,
point1: Param1,
brush: Param2,
strokewidth: f32,
strokestyle: Param4
) -> Result<()>
pub unsafe fn DrawGeometry<'a, Param0: IntoParam<'a, ID2D1Geometry>, Param1: IntoParam<'a, ID2D1Brush>, Param3: IntoParam<'a, ID2D1StrokeStyle>>(
&self,
geometry: Param0,
brush: Param1,
strokewidth: f32,
strokestyle: Param3
) -> Result<()>
pub unsafe fn DrawRectangle<'a, Param1: IntoParam<'a, ID2D1Brush>, Param3: IntoParam<'a, ID2D1StrokeStyle>>(
&self,
rect: *const D2D_RECT_F,
brush: Param1,
strokewidth: f32,
strokestyle: Param3
) -> Result<()>
pub unsafe fn DrawBitmap<'a, Param0: IntoParam<'a, ID2D1Bitmap>>(
&self,
bitmap: Param0,
destinationrectangle: *const D2D_RECT_F,
opacity: f32,
interpolationmode: D2D1_INTERPOLATION_MODE,
sourcerectangle: *const D2D_RECT_F,
perspectivetransform: *const D2D_MATRIX_4X4_F
) -> Result<()>
pub unsafe fn DrawImage<'a, Param0: IntoParam<'a, ID2D1Image>>(
&self,
image: Param0,
targetoffset: *const D2D_POINT_2F,
imagerectangle: *const D2D_RECT_F,
interpolationmode: D2D1_INTERPOLATION_MODE,
compositemode: D2D1_COMPOSITE_MODE
) -> Result<()>
pub unsafe fn DrawGdiMetafile<'a, Param0: IntoParam<'a, ID2D1GdiMetafile>>(
&self,
gdimetafile: Param0,
targetoffset: *const D2D_POINT_2F
) -> Result<()>
pub unsafe fn FillMesh<'a, Param0: IntoParam<'a, ID2D1Mesh>, Param1: IntoParam<'a, ID2D1Brush>>(
&self,
mesh: Param0,
brush: Param1
) -> Result<()>
pub unsafe fn FillOpacityMask<'a, Param0: IntoParam<'a, ID2D1Bitmap>, Param1: IntoParam<'a, ID2D1Brush>>(
&self,
opacitymask: Param0,
brush: Param1,
destinationrectangle: *const D2D_RECT_F,
sourcerectangle: *const D2D_RECT_F
) -> Result<()>
pub unsafe fn FillGeometry<'a, Param0: IntoParam<'a, ID2D1Geometry>, Param1: IntoParam<'a, ID2D1Brush>, Param2: IntoParam<'a, ID2D1Brush>>(
&self,
geometry: Param0,
brush: Param1,
opacitybrush: Param2
) -> Result<()>
pub unsafe fn FillRectangle<'a, Param1: IntoParam<'a, ID2D1Brush>>(
&self,
rect: *const D2D_RECT_F,
brush: Param1
) -> Result<()>
pub unsafe fn PushAxisAlignedClip(
&self,
cliprect: *const D2D_RECT_F,
antialiasmode: D2D1_ANTIALIAS_MODE
) -> Result<()>
pub unsafe fn PushLayer<'a, Param1: IntoParam<'a, ID2D1Layer>>(
&self,
layerparameters1: *const D2D1_LAYER_PARAMETERS1,
layer: Param1
) -> Result<()>
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.
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 ID2D1CommandSink
impl !Send for ID2D1CommandSink
impl !Sync for ID2D1CommandSink
impl Unpin for ID2D1CommandSink
impl UnwindSafe for ID2D1CommandSink
Blanket Implementations
Mutably borrows from an owned value. Read more