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

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

Fields

lpVtbl: *const IDWriteTextFormat1Vtbl

Methods

impl IDWriteTextFormat1[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 = IDWriteTextFormat>

pub unsafe fn SetTextAlignment(
    &self,
    textAlignment: DWRITE_TEXT_ALIGNMENT
) -> HRESULT
[src]

pub unsafe fn SetParagraphAlignment(
    &self,
    paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> HRESULT
[src]

pub unsafe fn SetWordWrapping(
    &self,
    wordWrapping: DWRITE_WORD_WRAPPING
) -> HRESULT
[src]

pub unsafe fn SetReadingDirection(
    &self,
    readingDirection: DWRITE_READING_DIRECTION
) -> HRESULT
[src]

pub unsafe fn SetFlowDirection(
    &self,
    flowDirection: DWRITE_FLOW_DIRECTION
) -> HRESULT
[src]

pub unsafe fn SetIncrementalTabStop(&self, incrementalTabStop: FLOAT) -> HRESULT[src]

pub unsafe fn SetTrimming(
    &self,
    trimmingOptions: *const DWRITE_TRIMMING,
    trimmingSign: *mut IDWriteInlineObject
) -> HRESULT
[src]

pub unsafe fn SetLineSpacing(
    &self,
    lineSpacingMethod: DWRITE_LINE_SPACING_METHOD,
    lineSpacing: FLOAT,
    baseLine: FLOAT
) -> HRESULT
[src]

pub unsafe fn GetTextAlignment(&self) -> DWRITE_TEXT_ALIGNMENT[src]

pub unsafe fn GetParagraphAlignment(&self) -> DWRITE_PARAGRAPH_ALIGNMENT[src]

pub unsafe fn GetWordWrapping(&self) -> DWRITE_WORD_WRAPPING[src]

pub unsafe fn GetReadingDirection(&self) -> DWRITE_READING_DIRECTION[src]

pub unsafe fn GetFlowDirection(&self) -> DWRITE_FLOW_DIRECTION[src]

pub unsafe fn GetIncrementalTabStop(&self) -> FLOAT[src]

pub unsafe fn GetTrimming(
    &self,
    trimmingOptions: *mut DWRITE_TRIMMING,
    trimmingSign: *mut *mut IDWriteInlineObject
) -> HRESULT
[src]

pub unsafe fn GetLineSpacing(
    &self,
    lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD,
    lineSpacing: *mut FLOAT,
    baseline: *mut FLOAT
) -> HRESULT
[src]

pub unsafe fn GetFontCollection(
    &self,
    fontCollection: *mut *mut IDWriteFontCollection
) -> HRESULT
[src]

pub unsafe fn GetFontFamilyNameLength(&self) -> UINT32[src]

pub unsafe fn GetFontFamilyName(
    &self,
    fontFamilyName: *mut WCHAR,
    nameSize: UINT32
) -> HRESULT
[src]

pub unsafe fn GetFontWeight(&self) -> DWRITE_FONT_WEIGHT[src]

pub unsafe fn GetFontStyle(&self) -> DWRITE_FONT_STYLE[src]

pub unsafe fn GetFontStretch(&self) -> DWRITE_FONT_STRETCH[src]

pub unsafe fn GetFontSize(&self) -> FLOAT[src]

pub unsafe fn GetLocaleNameLength(&self) -> UINT32[src]

pub unsafe fn GetLocaleName(
    &self,
    localeName: *mut WCHAR,
    nameSize: UINT32
) -> HRESULT
[src]

Trait Implementations

impl Interface for IDWriteTextFormat1[src]

impl Deref for IDWriteTextFormat1[src]

type Target = IDWriteTextFormat

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]