#[repr(C)]pub struct IDWriteTextRenderer {
pub lpVtbl: *const IDWriteTextRendererVtbl,
}
Fields§
§lpVtbl: *const IDWriteTextRendererVtbl
Implementations§
Source§impl IDWriteTextRenderer
impl IDWriteTextRenderer
pub unsafe fn DrawGlyphRun( &self, clientDrawingContext: *mut c_void, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: *const DWRITE_GLYPH_RUN, glyphRunDescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: *mut IUnknown, ) -> HRESULT
pub unsafe fn DrawUnderline( &self, clientDrawingContext: *mut c_void, baselineOriginX: FLOAT, baselineOriginY: FLOAT, underline: *const DWRITE_UNDERLINE, clientDrawingEffect: *mut IUnknown, ) -> HRESULT
pub unsafe fn DrawStrikethrough( &self, clientDrawingContext: *mut c_void, baselineOriginX: FLOAT, baselineOriginY: FLOAT, strikethrough: *const DWRITE_STRIKETHROUGH, clientDrawingEffect: *mut IUnknown, ) -> HRESULT
pub unsafe fn DrawInlineObject( &self, clientDrawingContext: *mut c_void, baselineOriginX: FLOAT, baselineOriginY: FLOAT, inlineObject: *mut IDWriteInlineObject, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: *mut IUnknown, ) -> HRESULT
Methods from Deref<Target = IDWritePixelSnapping>§
pub unsafe fn IsPixelSnappingDisabled( &self, clientDrawingContext: *mut c_void, isDisabled: *mut BOOL, ) -> HRESULT
pub unsafe fn GetCurrentTransform( &self, clientDrawingContext: *mut c_void, transform: *mut DWRITE_MATRIX, ) -> HRESULT
pub unsafe fn GetPixelsPerDip( &self, clientDrawingContext: *mut c_void, pixelsPerDip: *mut FLOAT, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteTextRenderer
impl Deref for IDWriteTextRenderer
Source§type Target = IDWritePixelSnapping
type Target = IDWritePixelSnapping
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWritePixelSnapping
fn deref(&self) -> &IDWritePixelSnapping
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteTextRenderer
impl RefUnwindSafe for IDWriteTextRenderer
impl !Send for IDWriteTextRenderer
impl !Sync for IDWriteTextRenderer
impl Unpin for IDWriteTextRenderer
impl UnwindSafe for IDWriteTextRenderer
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