Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextRenderer [−][src]
#[repr(transparent)]pub struct IDWriteTextRenderer(_);
Implementations
pub unsafe fn IsPixelSnappingDisabled(
&self,
clientdrawingcontext: *mut c_void
) -> Result<BOOL>
pub unsafe fn GetCurrentTransform(
&self,
clientdrawingcontext: *mut c_void
) -> Result<DWRITE_MATRIX>
pub unsafe fn DrawGlyphRun<'a>(
&self,
clientdrawingcontext: *mut c_void,
baselineoriginx: f32,
baselineoriginy: f32,
measuringmode: DWRITE_MEASURING_MODE,
glyphrun: *const DWRITE_GLYPH_RUN,
glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
clientdrawingeffect: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn DrawUnderline<'a>(
&self,
clientdrawingcontext: *mut c_void,
baselineoriginx: f32,
baselineoriginy: f32,
underline: *const DWRITE_UNDERLINE,
clientdrawingeffect: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn DrawStrikethrough<'a>(
&self,
clientdrawingcontext: *mut c_void,
baselineoriginx: f32,
baselineoriginy: f32,
strikethrough: *const DWRITE_STRIKETHROUGH,
clientdrawingeffect: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn DrawInlineObject<'a>(
&self,
clientdrawingcontext: *mut c_void,
originx: f32,
originy: f32,
inlineobject: impl IntoParam<'a, IDWriteInlineObject>,
issideways: impl IntoParam<'a, BOOL>,
isrighttoleft: impl IntoParam<'a, BOOL>,
clientdrawingeffect: impl IntoParam<'a, IUnknown>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteTextRenderer
impl !Send for IDWriteTextRenderer
impl !Sync for IDWriteTextRenderer
impl Unpin for IDWriteTextRenderer
impl UnwindSafe for IDWriteTextRenderer
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more