Trait IDWriteFactory4_Impl

pub trait IDWriteFactory4_Impl: IDWriteFactory3_Impl {
    // Required methods
    fn TranslateColorGlyphRun(
        &self,
        baselineorigin: &Vector2,
        glyphrun: *const DWRITE_GLYPH_RUN,
        glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
        desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS,
        measuringmode: DWRITE_MEASURING_MODE,
        worldanddpitransform: *const DWRITE_MATRIX,
        colorpaletteindex: u32,
    ) -> Result<IDWriteColorGlyphRunEnumerator1>;
    fn ComputeGlyphOrigins(
        &self,
        glyphrun: *const DWRITE_GLYPH_RUN,
        baselineorigin: &Vector2,
    ) -> Result<Vector2>;
    fn ComputeGlyphOrigins2(
        &self,
        glyphrun: *const DWRITE_GLYPH_RUN,
        measuringmode: DWRITE_MEASURING_MODE,
        baselineorigin: &Vector2,
        worldanddpitransform: *const DWRITE_MATRIX,
    ) -> Result<Vector2>;
}

Required Methods§

fn TranslateColorGlyphRun( &self, baselineorigin: &Vector2, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: *const DWRITE_MATRIX, colorpaletteindex: u32, ) -> Result<IDWriteColorGlyphRunEnumerator1>

fn ComputeGlyphOrigins( &self, glyphrun: *const DWRITE_GLYPH_RUN, baselineorigin: &Vector2, ) -> Result<Vector2>

fn ComputeGlyphOrigins2( &self, glyphrun: *const DWRITE_GLYPH_RUN, measuringmode: DWRITE_MEASURING_MODE, baselineorigin: &Vector2, worldanddpitransform: *const DWRITE_MATRIX, ) -> Result<Vector2>

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§