[−][src]Struct winapi::um::dwrite::IDWriteTextFormat
Fields
lpVtbl: *const IDWriteTextFormatVtbl
Methods
impl IDWriteTextFormat
[src]
pub unsafe fn SetTextAlignment(
&self,
textAlignment: DWRITE_TEXT_ALIGNMENT
) -> HRESULT
[src]
&self,
textAlignment: DWRITE_TEXT_ALIGNMENT
) -> HRESULT
pub unsafe fn SetParagraphAlignment(
&self,
paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> HRESULT
[src]
&self,
paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> HRESULT
pub unsafe fn SetWordWrapping(
&self,
wordWrapping: DWRITE_WORD_WRAPPING
) -> HRESULT
[src]
&self,
wordWrapping: DWRITE_WORD_WRAPPING
) -> HRESULT
pub unsafe fn SetReadingDirection(
&self,
readingDirection: DWRITE_READING_DIRECTION
) -> HRESULT
[src]
&self,
readingDirection: DWRITE_READING_DIRECTION
) -> HRESULT
pub unsafe fn SetFlowDirection(
&self,
flowDirection: DWRITE_FLOW_DIRECTION
) -> HRESULT
[src]
&self,
flowDirection: DWRITE_FLOW_DIRECTION
) -> HRESULT
pub unsafe fn SetIncrementalTabStop(&self, incrementalTabStop: FLOAT) -> HRESULT
[src]
pub unsafe fn SetTrimming(
&self,
trimmingOptions: *const DWRITE_TRIMMING,
trimmingSign: *mut IDWriteInlineObject
) -> HRESULT
[src]
&self,
trimmingOptions: *const DWRITE_TRIMMING,
trimmingSign: *mut IDWriteInlineObject
) -> HRESULT
pub unsafe fn SetLineSpacing(
&self,
lineSpacingMethod: DWRITE_LINE_SPACING_METHOD,
lineSpacing: FLOAT,
baseLine: FLOAT
) -> HRESULT
[src]
&self,
lineSpacingMethod: DWRITE_LINE_SPACING_METHOD,
lineSpacing: FLOAT,
baseLine: FLOAT
) -> HRESULT
pub unsafe fn GetTextAlignment(&self) -> DWRITE_TEXT_ALIGNMENT
[src]
pub unsafe fn GetParagraphAlignment(&self) -> DWRITE_PARAGRAPH_ALIGNMENT
[src]
pub unsafe fn GetWordWrapping(&self) -> DWRITE_WORD_WRAPPING
[src]
pub unsafe fn GetReadingDirection(&self) -> DWRITE_READING_DIRECTION
[src]
pub unsafe fn GetFlowDirection(&self) -> DWRITE_FLOW_DIRECTION
[src]
pub unsafe fn GetIncrementalTabStop(&self) -> FLOAT
[src]
pub unsafe fn GetTrimming(
&self,
trimmingOptions: *mut DWRITE_TRIMMING,
trimmingSign: *mut *mut IDWriteInlineObject
) -> HRESULT
[src]
&self,
trimmingOptions: *mut DWRITE_TRIMMING,
trimmingSign: *mut *mut IDWriteInlineObject
) -> HRESULT
pub unsafe fn GetLineSpacing(
&self,
lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD,
lineSpacing: *mut FLOAT,
baseline: *mut FLOAT
) -> HRESULT
[src]
&self,
lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD,
lineSpacing: *mut FLOAT,
baseline: *mut FLOAT
) -> HRESULT
pub unsafe fn GetFontCollection(
&self,
fontCollection: *mut *mut IDWriteFontCollection
) -> HRESULT
[src]
&self,
fontCollection: *mut *mut IDWriteFontCollection
) -> HRESULT
pub unsafe fn GetFontFamilyNameLength(&self) -> UINT32
[src]
pub unsafe fn GetFontFamilyName(
&self,
fontFamilyName: *mut WCHAR,
nameSize: UINT32
) -> HRESULT
[src]
&self,
fontFamilyName: *mut WCHAR,
nameSize: UINT32
) -> HRESULT
pub unsafe fn GetFontWeight(&self) -> DWRITE_FONT_WEIGHT
[src]
pub unsafe fn GetFontStyle(&self) -> DWRITE_FONT_STYLE
[src]
pub unsafe fn GetFontStretch(&self) -> DWRITE_FONT_STRETCH
[src]
pub unsafe fn GetFontSize(&self) -> FLOAT
[src]
pub unsafe fn GetLocaleNameLength(&self) -> UINT32
[src]
pub unsafe fn GetLocaleName(
&self,
localeName: *mut WCHAR,
nameSize: UINT32
) -> HRESULT
[src]
&self,
localeName: *mut WCHAR,
nameSize: UINT32
) -> HRESULT
Methods from Deref<Target = IUnknown>
pub unsafe fn QueryInterface(
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
pub unsafe fn AddRef(&self) -> ULONG
[src]
pub unsafe fn Release(&self) -> ULONG
[src]
Trait Implementations
impl Interface for IDWriteTextFormat
[src]
impl Deref for IDWriteTextFormat
[src]
Auto Trait Implementations
impl !Send for IDWriteTextFormat
impl !Sync for IDWriteTextFormat
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,