pub trait IDWriteTextLayout2_Impl: Sized + IDWriteTextLayout1_Impl {
    // Required methods
    fn GetMetrics(&self, textmetrics: *mut DWRITE_TEXT_METRICS1) -> Result<()>;
    fn SetVerticalGlyphOrientation(
        &self,
        glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION,
    ) -> Result<()>;
    fn GetVerticalGlyphOrientation(&self) -> DWRITE_VERTICAL_GLYPH_ORIENTATION;
    fn SetLastLineWrapping(&self, islastlinewrappingenabled: BOOL) -> Result<()>;
    fn GetLastLineWrapping(&self) -> BOOL;
    fn SetOpticalAlignment(
        &self,
        opticalalignment: DWRITE_OPTICAL_ALIGNMENT,
    ) -> Result<()>;
    fn GetOpticalAlignment(&self) -> DWRITE_OPTICAL_ALIGNMENT;
    fn SetFontFallback(
        &self,
        fontfallback: Option<&IDWriteFontFallback>,
    ) -> Result<()>;
    fn GetFontFallback(&self) -> Result<IDWriteFontFallback>;
}

Required Methods§

fn GetMetrics(&self, textmetrics: *mut DWRITE_TEXT_METRICS1) -> Result<()>

fn SetVerticalGlyphOrientation( &self, glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION, ) -> Result<()>

fn GetVerticalGlyphOrientation(&self) -> DWRITE_VERTICAL_GLYPH_ORIENTATION

fn SetLastLineWrapping(&self, islastlinewrappingenabled: BOOL) -> Result<()>

fn GetLastLineWrapping(&self) -> BOOL

fn SetOpticalAlignment( &self, opticalalignment: DWRITE_OPTICAL_ALIGNMENT, ) -> Result<()>

fn GetOpticalAlignment(&self) -> DWRITE_OPTICAL_ALIGNMENT

fn SetFontFallback( &self, fontfallback: Option<&IDWriteFontFallback>, ) -> Result<()>

fn GetFontFallback(&self) -> Result<IDWriteFontFallback>

Object Safety§

This trait is not object safe.

Implementors§