windows::Win32::Graphics::DirectWrite

Trait IDWriteFactory1_Impl

pub trait IDWriteFactory1_Impl: IDWriteFactory_Impl {
    // Required methods
    fn GetEudcFontCollection(
        &self,
        fontcollection: OutRef<'_, IDWriteFontCollection>,
        checkforupdates: BOOL,
    ) -> Result<()>;
    fn CreateCustomRenderingParams(
        &self,
        gamma: f32,
        enhancedcontrast: f32,
        enhancedcontrastgrayscale: f32,
        cleartypelevel: f32,
        pixelgeometry: DWRITE_PIXEL_GEOMETRY,
        renderingmode: DWRITE_RENDERING_MODE,
    ) -> Result<IDWriteRenderingParams1>;
}

Required Methods§

fn GetEudcFontCollection( &self, fontcollection: OutRef<'_, IDWriteFontCollection>, checkforupdates: BOOL, ) -> Result<()>

fn CreateCustomRenderingParams( &self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, ) -> Result<IDWriteRenderingParams1>

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§