#[repr(C)]pub struct ID2D1CommandSink5 {
pub lpVtbl: *const ID2D1CommandSink5Vtbl,
}
Fields§
§lpVtbl: *const ID2D1CommandSink5Vtbl
Implementations§
Source§impl ID2D1CommandSink5
impl ID2D1CommandSink5
pub unsafe fn BlendImage( &self, image: *mut ID2D1Image, blendMode: D2D1_BLEND_MODE, targetOffset: *const D2D1_POINT_2F, imageRectangle: *const D2D1_RECT_F, interpolationMode: D2D1_INTERPOLATION_MODE, ) -> HRESULT
Methods from Deref<Target = ID2D1CommandSink4>§
pub unsafe fn SetPrimitiveBlend2( &self, primitiveBlend: D2D1_PRIMITIVE_BLEND, ) -> HRESULT
Methods from Deref<Target = ID2D1CommandSink3>§
pub unsafe fn DrawSpriteBatch( &self, spriteBatch: *mut ID2D1SpriteBatch, startIndex: UINT32, spriteCount: UINT32, bitmap: *mut ID2D1Bitmap, interpolationMode: D2D1_BITMAP_INTERPOLATION_MODE, spriteOptions: D2D1_SPRITE_OPTIONS, )
Methods from Deref<Target = ID2D1CommandSink2>§
pub unsafe fn DrawInk( &self, ink: *mut ID2D1Ink, brush: *mut ID2D1Brush, inkStyle: *mut ID2D1InkStyle, )
pub unsafe fn DrawGradientMesh(&self, gradientMesh: *mut ID2D1GradientMesh)
pub unsafe fn DrawGdiMetafile( &self, gdiMetafile: *mut ID2D1GdiMetafile, destinationRectangle: *const D2D1_RECT_F, sourceRectangle: *const D2D1_RECT_F, )
Methods from Deref<Target = ID2D1CommandSink1>§
pub unsafe fn SetPrimitiveBlend1( &self, primitiveBlend: D2D1_PRIMITIVE_BLEND, ) -> HRESULT
Methods from Deref<Target = ID2D1CommandSink>§
pub unsafe fn BeginDraw(&self) -> HRESULT
pub unsafe fn EndDraw(&self) -> HRESULT
pub unsafe fn SetAntialiasMode( &self, antialiasMode: D2D1_ANTIALIAS_MODE, ) -> HRESULT
pub unsafe fn SetTags(&self, tag1: D2D1_TAG, tag2: D2D1_TAG) -> HRESULT
pub unsafe fn SetTextAntialiasMode( &self, textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE, ) -> HRESULT
pub unsafe fn SetTextRenderingParams( &self, textRenderingParams: *const IDWriteRenderingParams, ) -> HRESULT
pub unsafe fn SetTransform( &self, transform: *const D2D1_MATRIX_3X2_F, ) -> HRESULT
pub unsafe fn SetPrimitiveBlend( &self, primitiveBlend: D2D1_PRIMITIVE_BLEND, ) -> HRESULT
pub unsafe fn SetUnitMode(&self, unitMode: D2D1_UNIT_MODE) -> HRESULT
pub unsafe fn Clear(&self, color: *const D2D1_COLOR_F) -> HRESULT
pub unsafe fn DrawGlyphRun( &self, baselineOrigin: D2D1_POINT_2F, glyphRun: *const DWRITE_GLYPH_RUN, glyphRunDescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, foregroundBrush: *const ID2D1Brush, measuringMode: DWRITE_MEASURING_MODE, ) -> HRESULT
pub unsafe fn DrawLine( &self, point0: D2D1_POINT_2F, point1: D2D1_POINT_2F, brush: *const ID2D1Brush, strokeWidth: FLOAT, strokeStyle: *const ID2D1StrokeStyle, ) -> HRESULT
pub unsafe fn DrawGeometry( &self, geometry: *const ID2D1Geometry, brush: *const ID2D1Brush, strokeWidth: FLOAT, strokeStyle: *const ID2D1StrokeStyle, ) -> HRESULT
pub unsafe fn DrawRectangle( &self, rect: *const D2D1_RECT_F, brush: *const ID2D1Brush, strokeWidth: FLOAT, strokeStyle: *const ID2D1StrokeStyle, ) -> HRESULT
pub unsafe fn DrawBitmap( &self, bitmap: *const ID2D1Bitmap, destinationRectangle: *const D2D1_RECT_F, opacity: FLOAT, interpolationMode: D2D1_INTERPOLATION_MODE, sourceRectangle: *const D2D1_RECT_F, perspectiveTransform: *const D2D1_MATRIX_4X4_F, ) -> HRESULT
pub unsafe fn DrawImage( &self, image: *const ID2D1Image, targetOffset: *const D2D1_POINT_2F, imageRectangle: *const D2D1_RECT_F, interpolationMode: D2D1_INTERPOLATION_MODE, compositeMode: D2D1_COMPOSITE_MODE, ) -> HRESULT
pub unsafe fn DrawGdiMetafile( &self, gdiMetafile: *const ID2D1GdiMetafile, targetOffset: *const D2D1_POINT_2F, ) -> HRESULT
pub unsafe fn FillMesh( &self, mesh: *const ID2D1Mesh, brush: *const ID2D1Brush, ) -> HRESULT
pub unsafe fn FillOpacityMask( &self, opacityMask: *const ID2D1Bitmap, brush: *const ID2D1Brush, destinationRectangle: *const D2D1_RECT_F, sourceRectangle: *const D2D1_RECT_F, ) -> HRESULT
pub unsafe fn FillGeometry( &self, geometry: *const ID2D1Geometry, brush: *const ID2D1Brush, opacityBrush: *const ID2D1Brush, ) -> HRESULT
pub unsafe fn FillRectangle( &self, rect: *const D2D1_RECT_F, brush: *const ID2D1Brush, ) -> HRESULT
pub unsafe fn PushAxisAlignedClip( &self, clipRect: *const D2D1_RECT_F, antialiasMode: D2D1_ANTIALIAS_MODE, ) -> HRESULT
pub unsafe fn PushLayer( &self, layerParameters1: *const D2D1_LAYER_PARAMETERS1, layer: *const ID2D1Layer, ) -> HRESULT
pub unsafe fn PopAxisAlignedClip(&self) -> HRESULT
pub unsafe fn PopLayer(&self) -> HRESULT
Trait Implementations§
Source§impl Deref for ID2D1CommandSink5
impl Deref for ID2D1CommandSink5
Source§type Target = ID2D1CommandSink4
type Target = ID2D1CommandSink4
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1CommandSink4
fn deref(&self) -> &ID2D1CommandSink4
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1CommandSink5
impl RefUnwindSafe for ID2D1CommandSink5
impl !Send for ID2D1CommandSink5
impl !Sync for ID2D1CommandSink5
impl Unpin for ID2D1CommandSink5
impl UnwindSafe for ID2D1CommandSink5
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more