Struct winapi::dwrite::IDWriteTextRenderer [] [src]

pub struct IDWriteTextRenderer {
    pub lpVtbl: *const IDWriteTextRendererVtbl,
}

Fields

lpVtbl: *const IDWriteTextRendererVtbl

Methods

impl IDWriteTextRenderer
[src]

unsafe fn DrawGlyphRun(&mut 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

unsafe fn DrawUnderline(&mut self, clientDrawingContext: *mut c_void, baselineOriginX: FLOAT, baselineOriginY: FLOAT, underline: *const DWRITE_UNDERLINE, clientDrawingEffect: *mut IUnknown) -> HRESULT

unsafe fn DrawStrikethrough(&mut self, clientDrawingContext: *mut c_void, baselineOriginX: FLOAT, baselineOriginY: FLOAT, strikethrough: *const DWRITE_STRIKETHROUGH, clientDrawingEffect: *mut IUnknown) -> HRESULT

unsafe fn DrawInlineObject(&mut 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>

unsafe fn IsPixelSnappingDisabled(&mut self, clientDrawingContext: *mut c_void, isDisabled: *mut BOOL) -> HRESULT

unsafe fn GetCurrentTransform(&mut self, clientDrawingContext: *mut c_void, transform: *mut DWRITE_MATRIX) -> HRESULT

unsafe fn GetPixelsPerDip(&mut self, clientDrawingContext: *mut c_void, pixelsPerDip: *mut FLOAT) -> HRESULT

Trait Implementations

impl Debug for IDWriteTextRenderer
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IDWriteTextRenderer
[src]

type Target = IDWritePixelSnapping

The resulting type after dereferencing

fn deref(&self) -> &IDWritePixelSnapping

The method called to dereference a value

impl DerefMut for IDWriteTextRenderer
[src]

fn deref_mut(&mut self) -> &mut IDWritePixelSnapping

The method called to mutably dereference a value