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

#[repr(C)]
pub struct IDWriteTextRenderer { pub lpVtbl: *const IDWriteTextRendererVtbl, }

Fields

lpVtbl: *const IDWriteTextRendererVtbl

Methods

impl IDWriteTextRenderer[src]

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
[src]

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

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

pub unsafe fn DrawInlineObject(
    &self,
    clientDrawingContext: *mut c_void,
    baselineOriginX: FLOAT,
    baselineOriginY: FLOAT,
    inlineObject: *mut IDWriteInlineObject,
    isSideways: BOOL,
    isRightToLeft: BOOL,
    clientDrawingEffect: *mut IUnknown
) -> HRESULT
[src]

Methods from Deref<Target = IDWritePixelSnapping>

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

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

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

Trait Implementations

impl Interface for IDWriteTextRenderer[src]

impl Deref for IDWriteTextRenderer[src]

type Target = IDWritePixelSnapping

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]