windows::Win32::Graphics::DirectWrite

Trait IDWriteBitmapRenderTarget3_Impl

pub trait IDWriteBitmapRenderTarget3_Impl: IDWriteBitmapRenderTarget2_Impl {
    // Required methods
    fn GetPaintFeatureLevel(&self) -> DWRITE_PAINT_FEATURE_LEVEL;
    fn DrawPaintGlyphRun(
        &self,
        baselineoriginx: f32,
        baselineoriginy: f32,
        measuringmode: DWRITE_MEASURING_MODE,
        glyphrun: *const DWRITE_GLYPH_RUN,
        glyphimageformat: DWRITE_GLYPH_IMAGE_FORMATS,
        textcolor: COLORREF,
        colorpaletteindex: u32,
        blackboxrect: *mut RECT,
    ) -> Result<()>;
    fn DrawGlyphRunWithColorSupport(
        &self,
        baselineoriginx: f32,
        baselineoriginy: f32,
        measuringmode: DWRITE_MEASURING_MODE,
        glyphrun: *const DWRITE_GLYPH_RUN,
        renderingparams: Ref<'_, IDWriteRenderingParams>,
        textcolor: COLORREF,
        colorpaletteindex: u32,
        blackboxrect: *mut RECT,
    ) -> Result<()>;
}

Required Methods§

fn GetPaintFeatureLevel(&self) -> DWRITE_PAINT_FEATURE_LEVEL

fn DrawPaintGlyphRun( &self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, glyphimageformat: DWRITE_GLYPH_IMAGE_FORMATS, textcolor: COLORREF, colorpaletteindex: u32, blackboxrect: *mut RECT, ) -> Result<()>

fn DrawGlyphRunWithColorSupport( &self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, renderingparams: Ref<'_, IDWriteRenderingParams>, textcolor: COLORREF, colorpaletteindex: u32, blackboxrect: *mut RECT, ) -> 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§