pub trait IDWriteFontFace2_Impl: Sized + IDWriteFontFace1_Impl {
    // Required methods
    fn IsColorFont(&self) -> BOOL;
    fn GetColorPaletteCount(&self) -> u32;
    fn GetPaletteEntryCount(&self) -> u32;
    fn GetPaletteEntries(
        &self,
        colorpaletteindex: u32,
        firstentryindex: u32,
        entrycount: u32,
        paletteentries: *mut DWRITE_COLOR_F,
    ) -> Result<()>;
    fn GetRecommendedRenderingMode(
        &self,
        fontemsize: f32,
        dpix: f32,
        dpiy: f32,
        transform: *const DWRITE_MATRIX,
        issideways: BOOL,
        outlinethreshold: DWRITE_OUTLINE_THRESHOLD,
        measuringmode: DWRITE_MEASURING_MODE,
        renderingparams: Option<&IDWriteRenderingParams>,
        renderingmode: *mut DWRITE_RENDERING_MODE,
        gridfitmode: *mut DWRITE_GRID_FIT_MODE,
    ) -> Result<()>;
}

Required Methods§

fn IsColorFont(&self) -> BOOL

fn GetColorPaletteCount(&self) -> u32

fn GetPaletteEntryCount(&self) -> u32

fn GetPaletteEntries( &self, colorpaletteindex: u32, firstentryindex: u32, entrycount: u32, paletteentries: *mut DWRITE_COLOR_F, ) -> Result<()>

fn GetRecommendedRenderingMode( &self, fontemsize: f32, dpix: f32, dpiy: f32, transform: *const DWRITE_MATRIX, issideways: BOOL, outlinethreshold: DWRITE_OUTLINE_THRESHOLD, measuringmode: DWRITE_MEASURING_MODE, renderingparams: Option<&IDWriteRenderingParams>, renderingmode: *mut DWRITE_RENDERING_MODE, gridfitmode: *mut DWRITE_GRID_FIT_MODE, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§