Trait windows::Win32::Graphics::DirectWrite::IDWriteTextRenderer_Impl
pub trait IDWriteTextRenderer_Impl: Sized + IDWritePixelSnapping_Impl {
// Required methods
fn DrawGlyphRun(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
measuringmode: DWRITE_MEASURING_MODE,
glyphrun: *const DWRITE_GLYPH_RUN,
glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
fn DrawUnderline(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
underline: *const DWRITE_UNDERLINE,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
fn DrawStrikethrough(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
strikethrough: *const DWRITE_STRIKETHROUGH,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
fn DrawInlineObject(
&self,
clientdrawingcontext: *const c_void,
originx: f32,
originy: f32,
inlineobject: Option<&IDWriteInlineObject>,
issideways: BOOL,
isrighttoleft: BOOL,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
}
Required Methods§
fn DrawGlyphRun( &self, clientdrawingcontext: *const c_void, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
fn DrawUnderline( &self, clientdrawingcontext: *const c_void, baselineoriginx: f32, baselineoriginy: f32, underline: *const DWRITE_UNDERLINE, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
fn DrawStrikethrough( &self, clientdrawingcontext: *const c_void, baselineoriginx: f32, baselineoriginy: f32, strikethrough: *const DWRITE_STRIKETHROUGH, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
fn DrawInlineObject( &self, clientdrawingcontext: *const c_void, originx: f32, originy: f32, inlineobject: Option<&IDWriteInlineObject>, issideways: BOOL, isrighttoleft: BOOL, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
Object Safety§
This trait is not object safe.