Trait windows::Win32::Graphics::DirectWrite::IDWriteTextRenderer1_Impl
pub trait IDWriteTextRenderer1_Impl: Sized + IDWriteTextRenderer_Impl {
// Required methods
fn DrawGlyphRun(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE,
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,
orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE,
underline: *const DWRITE_UNDERLINE,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
fn DrawStrikethrough(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE,
strikethrough: *const DWRITE_STRIKETHROUGH,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
fn DrawInlineObject(
&self,
clientdrawingcontext: *const c_void,
originx: f32,
originy: f32,
orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE,
inlineobject: Option<&IDWriteInlineObject>,
issideways: BOOL,
isrighttoleft: BOOL,
clientdrawingeffect: Option<&IUnknown>,
) -> Result<()>;
}
Required Methods§
fn DrawGlyphRun( &self, clientdrawingcontext: *const c_void, baselineoriginx: f32, baselineoriginy: f32, orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE, 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, orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE, underline: *const DWRITE_UNDERLINE, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
fn DrawStrikethrough( &self, clientdrawingcontext: *const c_void, baselineoriginx: f32, baselineoriginy: f32, orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE, strikethrough: *const DWRITE_STRIKETHROUGH, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
fn DrawInlineObject( &self, clientdrawingcontext: *const c_void, originx: f32, originy: f32, orientationangle: DWRITE_GLYPH_ORIENTATION_ANGLE, inlineobject: Option<&IDWriteInlineObject>, issideways: BOOL, isrighttoleft: BOOL, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>
Object Safety§
This trait is not object safe.