windows::Win32::Graphics::DirectWrite

Trait IDWriteGlyphRunAnalysis_Impl

pub trait IDWriteGlyphRunAnalysis_Impl: IUnknownImpl {
    // 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: Ref<'_, 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: Ref<'_, IDWriteRenderingParams>, blendgamma: *mut f32, blendenhancedcontrast: *mut f32, blendcleartypelevel: *mut f32, ) -> Result<()>

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§