[−][src]Struct winapi::um::dwrite_2::IDWriteTextLayout2
Fields
lpVtbl: *const IDWriteTextLayout2Vtbl
Implementations
impl IDWriteTextLayout2
[src]
pub unsafe fn GetMetrics(
&self,
textMetrics: *mut DWRITE_TEXT_METRICS1
) -> HRESULT
[src]
&self,
textMetrics: *mut DWRITE_TEXT_METRICS1
) -> HRESULT
pub unsafe fn SetVerticalGlyphOrientation(
&self,
glyphOrientation: DWRITE_VERTICAL_GLYPH_ORIENTATION
) -> HRESULT
[src]
&self,
glyphOrientation: DWRITE_VERTICAL_GLYPH_ORIENTATION
) -> HRESULT
pub unsafe fn GetVerticalGlyphOrientation(
&self
) -> DWRITE_VERTICAL_GLYPH_ORIENTATION
[src]
&self
) -> DWRITE_VERTICAL_GLYPH_ORIENTATION
pub unsafe fn SetLastLineWrapping(
&self,
isLastLineWrappingEnabled: BOOL
) -> HRESULT
[src]
&self,
isLastLineWrappingEnabled: BOOL
) -> HRESULT
pub unsafe fn GetLastLineWrapping(&self) -> BOOL
[src]
pub unsafe fn SetOpticalAlignment(
&self,
opticalAlignment: DWRITE_OPTICAL_ALIGNMENT
) -> HRESULT
[src]
&self,
opticalAlignment: DWRITE_OPTICAL_ALIGNMENT
) -> HRESULT
pub unsafe fn GetOpticalAlignment(&self) -> DWRITE_OPTICAL_ALIGNMENT
[src]
pub unsafe fn SetFontFallback(
&self,
fontFallback: *mut IDWriteFontFallback
) -> HRESULT
[src]
&self,
fontFallback: *mut IDWriteFontFallback
) -> HRESULT
pub unsafe fn GetFontFallback(
&self,
fontFallback: *mut *mut IDWriteFontFallback
) -> HRESULT
[src]
&self,
fontFallback: *mut *mut IDWriteFontFallback
) -> HRESULT
Methods from Deref<Target = IDWriteTextLayout1>
pub unsafe fn SetPairKerning(
&self,
isPairKerningEnabled: BOOL,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
isPairKerningEnabled: BOOL,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetPairKerning(
&self,
currentPosition: UINT32,
isPairKerningEnabled: *mut BOOL,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
isPairKerningEnabled: *mut BOOL,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetCharacterSpacing(
&self,
leadingSpacing: FLOAT,
trailingSpacing: FLOAT,
minimumAdvanceWidth: FLOAT,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
leadingSpacing: FLOAT,
trailingSpacing: FLOAT,
minimumAdvanceWidth: FLOAT,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetCharacterSpacing(
&self,
currentPosition: UINT32,
leadingSpacing: *mut FLOAT,
trailingSpacing: *mut FLOAT,
minimumAdvanceWidth: *mut FLOAT,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
leadingSpacing: *mut FLOAT,
trailingSpacing: *mut FLOAT,
minimumAdvanceWidth: *mut FLOAT,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
Trait Implementations
impl Deref for IDWriteTextLayout2
[src]
type Target = IDWriteTextLayout1
The resulting type after dereferencing.
fn deref(&self) -> &IDWriteTextLayout1
[src]
impl Interface for IDWriteTextLayout2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,