pub trait IDWriteFactory4_Impl: Sized + IDWriteFactory3_Impl {
    // Required methods
    fn TranslateColorGlyphRun(
        &self,
        baselineorigin: &D2D_POINT_2F,
        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: &D2D_POINT_2F,
    ) -> Result<D2D_POINT_2F>;
    fn ComputeGlyphOrigins2(
        &self,
        glyphrun: *const DWRITE_GLYPH_RUN,
        measuringmode: DWRITE_MEASURING_MODE,
        baselineorigin: &D2D_POINT_2F,
        worldanddpitransform: *const DWRITE_MATRIX,
    ) -> Result<D2D_POINT_2F>;
}

Required Methods§

fn TranslateColorGlyphRun( &self, baselineorigin: &D2D_POINT_2F, 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: &D2D_POINT_2F, ) -> Result<D2D_POINT_2F>

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

Object Safety§

This trait is not object safe.

Implementors§