[−][src]Struct winapi::um::d2d1_1::ID2D1CommandSink
Fields
lpVtbl: *const ID2D1CommandSinkVtbl
Methods
impl ID2D1CommandSink
[src]
pub unsafe fn BeginDraw(&self) -> HRESULT
[src]
pub unsafe fn EndDraw(&self) -> HRESULT
[src]
pub unsafe fn SetAntialiasMode(
&self,
antialiasMode: D2D1_ANTIALIAS_MODE
) -> HRESULT
[src]
&self,
antialiasMode: D2D1_ANTIALIAS_MODE
) -> HRESULT
pub unsafe fn SetTags(&self, tag1: D2D1_TAG, tag2: D2D1_TAG) -> HRESULT
[src]
pub unsafe fn SetTextAntialiasMode(
&self,
textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE
) -> HRESULT
[src]
&self,
textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE
) -> HRESULT
pub unsafe fn SetTextRenderingParams(
&self,
textRenderingParams: *const IDWriteRenderingParams
) -> HRESULT
[src]
&self,
textRenderingParams: *const IDWriteRenderingParams
) -> HRESULT
pub unsafe fn SetTransform(
&self,
transform: *const D2D1_MATRIX_3X2_F
) -> HRESULT
[src]
&self,
transform: *const D2D1_MATRIX_3X2_F
) -> HRESULT
pub unsafe fn SetPrimitiveBlend(
&self,
primitiveBlend: D2D1_PRIMITIVE_BLEND
) -> HRESULT
[src]
&self,
primitiveBlend: D2D1_PRIMITIVE_BLEND
) -> HRESULT
pub unsafe fn SetUnitMode(&self, unitMode: D2D1_UNIT_MODE) -> HRESULT
[src]
pub unsafe fn Clear(&self, color: *const D2D1_COLOR_F) -> HRESULT
[src]
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
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&self,
gdiMetafile: *const ID2D1GdiMetafile,
targetOffset: *const D2D1_POINT_2F
) -> HRESULT
pub unsafe fn FillMesh(
&self,
mesh: *const ID2D1Mesh,
brush: *const ID2D1Brush
) -> HRESULT
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&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
[src]
&self,
layerParameters1: *const D2D1_LAYER_PARAMETERS1,
layer: *const ID2D1Layer
) -> HRESULT
pub unsafe fn PopAxisAlignedClip(&self) -> HRESULT
[src]
pub unsafe fn PopLayer(&self) -> HRESULT
[src]
Methods from Deref<Target = IUnknown>
pub unsafe fn QueryInterface(
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
pub unsafe fn AddRef(&self) -> ULONG
[src]
pub unsafe fn Release(&self) -> ULONG
[src]
Trait Implementations
impl Interface for ID2D1CommandSink
[src]
impl Deref for ID2D1CommandSink
[src]
Auto Trait Implementations
impl !Send for ID2D1CommandSink
impl !Sync for ID2D1CommandSink
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,