Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextRenderer [−][src]
#[repr(transparent)]pub struct IDWriteTextRenderer(_);
Implementations
pub unsafe fn IsPixelSnappingDisabled(
&self,
clientdrawingcontext: *const c_void
) -> Result<BOOL>
pub unsafe fn GetCurrentTransform(
&self,
clientdrawingcontext: *const c_void
) -> Result<DWRITE_MATRIX>
pub unsafe fn DrawGlyphRun<'a, Param6: IntoParam<'a, IUnknown>>(
&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: Param6
) -> Result<()>
pub unsafe fn DrawUnderline<'a, Param4: IntoParam<'a, IUnknown>>(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
underline: *const DWRITE_UNDERLINE,
clientdrawingeffect: Param4
) -> Result<()>
pub unsafe fn DrawStrikethrough<'a, Param4: IntoParam<'a, IUnknown>>(
&self,
clientdrawingcontext: *const c_void,
baselineoriginx: f32,
baselineoriginy: f32,
strikethrough: *const DWRITE_STRIKETHROUGH,
clientdrawingeffect: Param4
) -> Result<()>
pub unsafe fn DrawInlineObject<'a, Param3: IntoParam<'a, IDWriteInlineObject>, Param4: IntoParam<'a, BOOL>, Param5: IntoParam<'a, BOOL>, Param6: IntoParam<'a, IUnknown>>(
&self,
clientdrawingcontext: *const c_void,
originx: f32,
originy: f32,
inlineobject: Param3,
issideways: Param4,
isrighttoleft: Param5,
clientdrawingeffect: Param6
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
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
Mutably borrows from an owned value. Read more