#[repr(C)]pub struct ID2D1DeviceContext4Vtbl {
pub parent: ID2D1DeviceContext3Vtbl,
pub CreateSvgGlyphStyle: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, svgGlyphStyle: *mut *mut ID2D1SvgGlyphStyle) -> HRESULT,
pub DrawText: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, string: *const WCHAR, stringLength: UINT32, textFormat: *mut IDWriteTextFormat, layoutRect: *const D2D1_RECT_F, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, options: D2D1_DRAW_TEXT_OPTIONS, measuringMode: DWRITE_MEASURING_MODE),
pub DrawTextLayout: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, origin: D2D1_POINT_2F, textLayout: *mut IDWriteTextLayout, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, options: D2D1_DRAW_TEXT_OPTIONS),
pub DrawColorBitmapGlyphRun: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, baselineOrigin: D2D1_POINT_2F, glyphRun: *const DWRITE_GLYPH_RUN, measuringMode: DWRITE_MEASURING_MODE, bitmapSnapOption: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION),
pub DrawSvgGlyphRun: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, baselineOrigin: D2D1_POINT_2F, glyphRun: *const DWRITE_GLYPH_RUN, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, measuringMode: DWRITE_MEASURING_MODE),
pub GetColorBitmapGlyphImage: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, glyphOrigin: D2D1_POINT_2F, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, glyphIndex: UINT16, isSideways: BOOL, worldTransform: *const D2D1_MATRIX_3X2_F, dpiX: FLOAT, dpiY: FLOAT, glyphTransform: *mut D2D1_MATRIX_3X2_F, glyphImage: *mut *mut ID2D1Image) -> HRESULT,
pub GetSvgGlyphImage: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, glyphOrigin: D2D1_POINT_2F, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, glyphIndex: UINT16, isSideways: BOOL, worldTransform: *const D2D1_MATRIX_3X2_F, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, glyphTransform: *mut D2D1_MATRIX_3X2_F, glyphImage: *mut *mut ID2D1CommandList) -> HRESULT,
}
Fields§
§parent: ID2D1DeviceContext3Vtbl
§CreateSvgGlyphStyle: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, svgGlyphStyle: *mut *mut ID2D1SvgGlyphStyle) -> HRESULT
§DrawText: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, string: *const WCHAR, stringLength: UINT32, textFormat: *mut IDWriteTextFormat, layoutRect: *const D2D1_RECT_F, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, options: D2D1_DRAW_TEXT_OPTIONS, measuringMode: DWRITE_MEASURING_MODE)
§DrawTextLayout: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, origin: D2D1_POINT_2F, textLayout: *mut IDWriteTextLayout, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, options: D2D1_DRAW_TEXT_OPTIONS)
§DrawColorBitmapGlyphRun: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, baselineOrigin: D2D1_POINT_2F, glyphRun: *const DWRITE_GLYPH_RUN, measuringMode: DWRITE_MEASURING_MODE, bitmapSnapOption: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION)
§DrawSvgGlyphRun: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, baselineOrigin: D2D1_POINT_2F, glyphRun: *const DWRITE_GLYPH_RUN, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, measuringMode: DWRITE_MEASURING_MODE)
§GetColorBitmapGlyphImage: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, glyphOrigin: D2D1_POINT_2F, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, glyphIndex: UINT16, isSideways: BOOL, worldTransform: *const D2D1_MATRIX_3X2_F, dpiX: FLOAT, dpiY: FLOAT, glyphTransform: *mut D2D1_MATRIX_3X2_F, glyphImage: *mut *mut ID2D1Image) -> HRESULT
§GetSvgGlyphImage: unsafe extern "system" fn(This: *mut ID2D1DeviceContext4, glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS, glyphOrigin: D2D1_POINT_2F, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, glyphIndex: UINT16, isSideways: BOOL, worldTransform: *const D2D1_MATRIX_3X2_F, defaultFillBrush: *mut ID2D1Brush, svgGlyphStyle: *mut ID2D1SvgGlyphStyle, colorPaletteIndex: UINT32, glyphTransform: *mut D2D1_MATRIX_3X2_F, glyphImage: *mut *mut ID2D1CommandList) -> HRESULT
Auto Trait Implementations§
impl Freeze for ID2D1DeviceContext4Vtbl
impl RefUnwindSafe for ID2D1DeviceContext4Vtbl
impl Send for ID2D1DeviceContext4Vtbl
impl Sync for ID2D1DeviceContext4Vtbl
impl Unpin for ID2D1DeviceContext4Vtbl
impl UnwindSafe for ID2D1DeviceContext4Vtbl
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