pub trait IDWriteGlyphRunAnalysis_Impl: Sized {
    // Required methods
    fn GetAlphaTextureBounds(
        &self,
        texturetype: DWRITE_TEXTURE_TYPE,
    ) -> Result<RECT>;
    fn CreateAlphaTexture(
        &self,
        texturetype: DWRITE_TEXTURE_TYPE,
        texturebounds: *const RECT,
        alphavalues: *mut u8,
        buffersize: u32,
    ) -> Result<()>;
    fn GetAlphaBlendParams(
        &self,
        renderingparams: Option<&IDWriteRenderingParams>,
        blendgamma: *mut f32,
        blendenhancedcontrast: *mut f32,
        blendcleartypelevel: *mut f32,
    ) -> Result<()>;
}

Required Methods§

fn GetAlphaTextureBounds( &self, texturetype: DWRITE_TEXTURE_TYPE, ) -> Result<RECT>

fn CreateAlphaTexture( &self, texturetype: DWRITE_TEXTURE_TYPE, texturebounds: *const RECT, alphavalues: *mut u8, buffersize: u32, ) -> Result<()>

fn GetAlphaBlendParams( &self, renderingparams: Option<&IDWriteRenderingParams>, blendgamma: *mut f32, blendenhancedcontrast: *mut f32, blendcleartypelevel: *mut f32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§