Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextLayout3 [−][src]
#[repr(transparent)]pub struct IDWriteTextLayout3(_);
Implementations
pub unsafe fn SetParagraphAlignment(
&self,
paragraphalignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> HRESULT
[src]pub unsafe fn SetReadingDirection(
&self,
readingdirection: DWRITE_READING_DIRECTION
) -> HRESULT
[src]pub unsafe fn SetTrimming<'a>(
&self,
trimmingoptions: *const DWRITE_TRIMMING,
trimmingsign: impl IntoParam<'a, IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn SetLineSpacing(
&self,
linespacingmethod: DWRITE_LINE_SPACING_METHOD,
linespacing: f32,
baseline: f32
) -> HRESULT
[src]pub unsafe fn GetTrimming(
&self,
trimmingoptions: *mut DWRITE_TRIMMING,
trimmingsign: *mut Option<IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn GetLineSpacing(
&self,
linespacingmethod: *mut DWRITE_LINE_SPACING_METHOD,
linespacing: *mut f32,
baseline: *mut f32
) -> HRESULT
[src]pub unsafe fn GetFontCollection(
&self,
fontcollection: *mut Option<IDWriteFontCollection>
) -> HRESULT
[src]pub unsafe fn SetFontCollection<'a>(
&self,
fontcollection: impl IntoParam<'a, IDWriteFontCollection>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetFontFamilyName<'a>(
&self,
fontfamilyname: impl IntoParam<'a, PWSTR>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetFontWeight<'a>(
&self,
fontweight: DWRITE_FONT_WEIGHT,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetFontStyle<'a>(
&self,
fontstyle: DWRITE_FONT_STYLE,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetFontStretch<'a>(
&self,
fontstretch: DWRITE_FONT_STRETCH,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetFontSize<'a>(
&self,
fontsize: f32,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetUnderline<'a>(
&self,
hasunderline: impl IntoParam<'a, BOOL>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetStrikethrough<'a>(
&self,
hasstrikethrough: impl IntoParam<'a, BOOL>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetDrawingEffect<'a>(
&self,
drawingeffect: impl IntoParam<'a, IUnknown>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetInlineObject<'a>(
&self,
inlineobject: impl IntoParam<'a, IDWriteInlineObject>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetTypography<'a>(
&self,
typography: impl IntoParam<'a, IDWriteTypography>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn SetLocaleName<'a>(
&self,
localename: impl IntoParam<'a, PWSTR>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn GetFontCollection2(
&self,
currentposition: u32,
fontcollection: *mut Option<IDWriteFontCollection>,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetFontFamilyNameLength2(
&self,
currentposition: u32,
namelength: *mut u32,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetFontFamilyName2(
&self,
currentposition: u32,
fontfamilyname: PWSTR,
namesize: u32,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetFontWeight2(
&self,
currentposition: u32,
fontweight: *mut DWRITE_FONT_WEIGHT,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetFontStyle2(
&self,
currentposition: u32,
fontstyle: *mut DWRITE_FONT_STYLE,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetFontStretch2(
&self,
currentposition: u32,
fontstretch: *mut DWRITE_FONT_STRETCH,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetFontSize2(
&self,
currentposition: u32,
fontsize: *mut f32,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetUnderline(
&self,
currentposition: u32,
hasunderline: *mut BOOL,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetStrikethrough(
&self,
currentposition: u32,
hasstrikethrough: *mut BOOL,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetDrawingEffect(
&self,
currentposition: u32,
drawingeffect: *mut Option<IUnknown>,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetInlineObject(
&self,
currentposition: u32,
inlineobject: *mut Option<IDWriteInlineObject>,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetTypography(
&self,
currentposition: u32,
typography: *mut Option<IDWriteTypography>,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetLocaleNameLength2(
&self,
currentposition: u32,
namelength: *mut u32,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn GetLocaleName2(
&self,
currentposition: u32,
localename: PWSTR,
namesize: u32,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn Draw<'a>(
&self,
clientdrawingcontext: *mut c_void,
renderer: impl IntoParam<'a, IDWriteTextRenderer>,
originx: f32,
originy: f32
) -> HRESULT
[src]pub unsafe fn GetLineMetrics(
&self,
linemetrics: *mut DWRITE_LINE_METRICS,
maxlinecount: u32,
actuallinecount: *mut u32
) -> HRESULT
[src]pub unsafe fn GetClusterMetrics(
&self,
clustermetrics: *mut DWRITE_CLUSTER_METRICS,
maxclustercount: u32,
actualclustercount: *mut u32
) -> HRESULT
[src]pub unsafe fn HitTestPoint(
&self,
pointx: f32,
pointy: f32,
istrailinghit: *mut BOOL,
isinside: *mut BOOL,
hittestmetrics: *mut DWRITE_HIT_TEST_METRICS
) -> HRESULT
[src]pub unsafe fn HitTestTextPosition<'a>(
&self,
textposition: u32,
istrailinghit: impl IntoParam<'a, BOOL>,
pointx: *mut f32,
pointy: *mut f32,
hittestmetrics: *mut DWRITE_HIT_TEST_METRICS
) -> HRESULT
[src]pub unsafe fn HitTestTextRange(
&self,
textposition: u32,
textlength: u32,
originx: f32,
originy: f32,
hittestmetrics: *mut DWRITE_HIT_TEST_METRICS,
maxhittestmetricscount: u32,
actualhittestmetricscount: *mut u32
) -> HRESULT
[src]pub unsafe fn SetPairKerning<'a>(
&self,
ispairkerningenabled: impl IntoParam<'a, BOOL>,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn GetPairKerning(
&self,
currentposition: u32,
ispairkerningenabled: *mut BOOL,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn SetCharacterSpacing<'a>(
&self,
leadingspacing: f32,
trailingspacing: f32,
minimumadvancewidth: f32,
textrange: impl IntoParam<'a, DWRITE_TEXT_RANGE>
) -> HRESULT
[src]pub unsafe fn GetCharacterSpacing(
&self,
currentposition: u32,
leadingspacing: *mut f32,
trailingspacing: *mut f32,
minimumadvancewidth: *mut f32,
textrange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]pub unsafe fn SetVerticalGlyphOrientation(
&self,
glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION
) -> HRESULT
[src]pub unsafe fn SetLastLineWrapping<'a>(
&self,
islastlinewrappingenabled: impl IntoParam<'a, BOOL>
) -> HRESULT
[src]pub unsafe fn SetOpticalAlignment(
&self,
opticalalignment: DWRITE_OPTICAL_ALIGNMENT
) -> HRESULT
[src]pub unsafe fn SetFontFallback<'a>(
&self,
fontfallback: impl IntoParam<'a, IDWriteFontFallback>
) -> HRESULT
[src]pub unsafe fn GetFontFallback(
&self,
fontfallback: *mut Option<IDWriteFontFallback>
) -> HRESULT
[src]pub unsafe fn SetLineSpacing2(
&self,
linespacingoptions: *const DWRITE_LINE_SPACING
) -> HRESULT
[src]pub unsafe fn GetLineMetrics2(
&self,
linemetrics: *mut DWRITE_LINE_METRICS1,
maxlinecount: u32,
actuallinecount: *mut u32
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteTextLayout3_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method 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 IDWriteTextLayout3
impl !Send for IDWriteTextLayout3
impl !Sync for IDWriteTextLayout3
impl Unpin for IDWriteTextLayout3
impl UnwindSafe for IDWriteTextLayout3
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