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.
type Vtable = IDWriteTextRenderer_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
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
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more