[][src]Struct winapi::um::dwrite_2::IDWriteTextLayout2

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

Fields

lpVtbl: *const IDWriteTextLayout2Vtbl

Methods

impl IDWriteTextLayout2[src]

pub unsafe fn GetMetrics(
    &self,
    textMetrics: *mut DWRITE_TEXT_METRICS1
) -> HRESULT
[src]

pub unsafe fn SetVerticalGlyphOrientation(
    &self,
    glyphOrientation: DWRITE_VERTICAL_GLYPH_ORIENTATION
) -> HRESULT
[src]

pub unsafe fn GetVerticalGlyphOrientation(
    &self
) -> DWRITE_VERTICAL_GLYPH_ORIENTATION
[src]

pub unsafe fn SetLastLineWrapping(
    &self,
    isLastLineWrappingEnabled: BOOL
) -> HRESULT
[src]

pub unsafe fn GetLastLineWrapping(&self) -> BOOL[src]

pub unsafe fn SetOpticalAlignment(
    &self,
    opticalAlignment: DWRITE_OPTICAL_ALIGNMENT
) -> HRESULT
[src]

pub unsafe fn GetOpticalAlignment(&self) -> DWRITE_OPTICAL_ALIGNMENT[src]

pub unsafe fn SetFontFallback(
    &self,
    fontFallback: *mut IDWriteFontFallback
) -> HRESULT
[src]

pub unsafe fn GetFontFallback(
    &self,
    fontFallback: *mut *mut IDWriteFontFallback
) -> HRESULT
[src]

Methods from Deref<Target = IDWriteTextLayout1>

pub unsafe fn SetPairKerning(
    &self,
    isPairKerningEnabled: BOOL,
    textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]

pub unsafe fn GetPairKerning(
    &self,
    currentPosition: UINT32,
    isPairKerningEnabled: *mut BOOL,
    textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]

pub unsafe fn SetCharacterSpacing(
    &self,
    leadingSpacing: FLOAT,
    trailingSpacing: FLOAT,
    minimumAdvanceWidth: FLOAT,
    textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]

pub unsafe fn GetCharacterSpacing(
    &self,
    currentPosition: UINT32,
    leadingSpacing: *mut FLOAT,
    trailingSpacing: *mut FLOAT,
    minimumAdvanceWidth: *mut FLOAT,
    textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]

Trait Implementations

impl Interface for IDWriteTextLayout2[src]

impl Deref for IDWriteTextLayout2[src]

type Target = IDWriteTextLayout1

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]