windows::Win32::Graphics::DirectWrite

Trait IDWriteTextFormat1_Impl

pub trait IDWriteTextFormat1_Impl: IDWriteTextFormat_Impl {
    // Required methods
    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: Ref<'_, IDWriteFontFallback>,
    ) -> Result<()>;
    fn GetFontFallback(&self) -> Result<IDWriteFontFallback>;
}

Required Methods§

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: Ref<'_, IDWriteFontFallback>, ) -> Result<()>

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§