pub trait IDWritePaintReader_Impl: Sized {
    // Required methods
    fn SetCurrentGlyph(
        &self,
        glyphindex: u32,
        paintelement: *mut DWRITE_PAINT_ELEMENT,
        structsize: u32,
        clipbox: *mut D2D_RECT_F,
        glyphattributes: *mut DWRITE_PAINT_ATTRIBUTES,
    ) -> Result<()>;
    fn SetTextColor(&self, textcolor: *const DWRITE_COLOR_F) -> Result<()>;
    fn SetColorPaletteIndex(&self, colorpaletteindex: u32) -> Result<()>;
    fn SetCustomColorPalette(
        &self,
        paletteentries: *const DWRITE_COLOR_F,
        paletteentrycount: u32,
    ) -> Result<()>;
    fn MoveToFirstChild(
        &self,
        paintelement: *mut DWRITE_PAINT_ELEMENT,
        structsize: u32,
    ) -> Result<()>;
    fn MoveToNextSibling(
        &self,
        paintelement: *mut DWRITE_PAINT_ELEMENT,
        structsize: u32,
    ) -> Result<()>;
    fn MoveToParent(&self) -> Result<()>;
    fn GetGradientStops(
        &self,
        firstgradientstopindex: u32,
        gradientstopcount: u32,
        gradientstops: *mut D2D1_GRADIENT_STOP,
    ) -> Result<()>;
    fn GetGradientStopColors(
        &self,
        firstgradientstopindex: u32,
        gradientstopcount: u32,
        gradientstopcolors: *mut DWRITE_PAINT_COLOR,
    ) -> Result<()>;
}

Required Methods§

fn SetCurrentGlyph( &self, glyphindex: u32, paintelement: *mut DWRITE_PAINT_ELEMENT, structsize: u32, clipbox: *mut D2D_RECT_F, glyphattributes: *mut DWRITE_PAINT_ATTRIBUTES, ) -> Result<()>

fn SetTextColor(&self, textcolor: *const DWRITE_COLOR_F) -> Result<()>

fn SetColorPaletteIndex(&self, colorpaletteindex: u32) -> Result<()>

fn SetCustomColorPalette( &self, paletteentries: *const DWRITE_COLOR_F, paletteentrycount: u32, ) -> Result<()>

fn MoveToFirstChild( &self, paintelement: *mut DWRITE_PAINT_ELEMENT, structsize: u32, ) -> Result<()>

fn MoveToNextSibling( &self, paintelement: *mut DWRITE_PAINT_ELEMENT, structsize: u32, ) -> Result<()>

fn MoveToParent(&self) -> Result<()>

fn GetGradientStops( &self, firstgradientstopindex: u32, gradientstopcount: u32, gradientstops: *mut D2D1_GRADIENT_STOP, ) -> Result<()>

fn GetGradientStopColors( &self, firstgradientstopindex: u32, gradientstopcount: u32, gradientstopcolors: *mut DWRITE_PAINT_COLOR, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§