[−][src]Struct winapi::um::dwrite_1::IDWriteTextLayout1
Fields
lpVtbl: *const IDWriteTextLayout1Vtbl
Methods
impl IDWriteTextLayout1
[src]
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
Methods from Deref<Target = IDWriteTextLayout>
pub unsafe fn SetMaxWidth(&self, maxWidth: FLOAT) -> HRESULT
[src]
pub unsafe fn SetMaxHeight(&self, maxHeight: FLOAT) -> HRESULT
[src]
pub unsafe fn SetFontCollection(
&self,
fontCollection: *mut IDWriteFontCollection,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
fontCollection: *mut IDWriteFontCollection,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetFontFamilyName(
&self,
fontFamilyName: *const WCHAR,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
fontFamilyName: *const WCHAR,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetFontWeight(
&self,
fontWeight: DWRITE_FONT_WEIGHT,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
fontWeight: DWRITE_FONT_WEIGHT,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetFontStyle(
&self,
fontStyle: DWRITE_FONT_STYLE,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
fontStyle: DWRITE_FONT_STYLE,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetFontStretch(
&self,
fontStretch: DWRITE_FONT_STRETCH,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
fontStretch: DWRITE_FONT_STRETCH,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetFontSize(
&self,
fontSize: FLOAT,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
fontSize: FLOAT,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetUnderline(
&self,
hasUnderline: BOOL,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
hasUnderline: BOOL,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetStrikethrough(
&self,
hasStrikethrough: BOOL,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
hasStrikethrough: BOOL,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetDrawingEffect(
&self,
drawingEffect: *mut IUnknown,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
drawingEffect: *mut IUnknown,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetInlineObject(
&self,
inlineObject: *mut IDWriteInlineObject,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
inlineObject: *mut IDWriteInlineObject,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetTypography(
&self,
typography: *mut IDWriteTypography,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
typography: *mut IDWriteTypography,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn SetLocaleName(
&self,
localeName: *const WCHAR,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
localeName: *const WCHAR,
textRange: DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetMaxWidth(&self) -> FLOAT
[src]
pub unsafe fn GetMaxHeight(&self) -> FLOAT
[src]
pub unsafe fn GetFontCollection(
&self,
currentPosition: UINT32,
fontCollection: *mut *mut IDWriteFontCollection,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
fontCollection: *mut *mut IDWriteFontCollection,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetFontFamilyNameLength(
&self,
currentPosition: UINT32,
nameLength: *mut UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
nameLength: *mut UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetFontFamilyName(
&self,
currentPosition: UINT32,
fontFamilyName: *mut WCHAR,
nameSize: UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
fontFamilyName: *mut WCHAR,
nameSize: UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetFontWeight(
&self,
currentPosition: UINT32,
fontWeight: *mut DWRITE_FONT_WEIGHT,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
fontWeight: *mut DWRITE_FONT_WEIGHT,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetFontStyle(
&self,
currentPosition: UINT32,
fontStyle: *mut DWRITE_FONT_STYLE,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
fontStyle: *mut DWRITE_FONT_STYLE,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetFontStretch(
&self,
currentPosition: UINT32,
fontStretch: *mut DWRITE_FONT_STRETCH,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
fontStretch: *mut DWRITE_FONT_STRETCH,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetFontSize(
&self,
currentPosition: UINT32,
fontSize: *mut FLOAT,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
fontSize: *mut FLOAT,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetUnderline(
&self,
currentPosition: UINT32,
hasUnderline: *mut BOOL,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
hasUnderline: *mut BOOL,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetStrikethrough(
&self,
currentPosition: UINT32,
hasStrikethrough: *mut BOOL,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
hasStrikethrough: *mut BOOL,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetDrawingEffect(
&self,
currentPosition: UINT32,
drawingEffect: *mut *mut IUnknown,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
drawingEffect: *mut *mut IUnknown,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetInlineObject(
&self,
currentPosition: UINT32,
inlineObject: *mut *mut IDWriteInlineObject,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
inlineObject: *mut *mut IDWriteInlineObject,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetTypography(
&self,
currentPosition: UINT32,
typography: *mut *mut IDWriteTypography,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
typography: *mut *mut IDWriteTypography,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetLocaleNameLength(
&self,
currentPosition: UINT32,
nameLength: *mut UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
nameLength: *mut UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn GetLocaleName(
&self,
currentPosition: UINT32,
localeName: *mut WCHAR,
nameSize: UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
[src]
&self,
currentPosition: UINT32,
localeName: *mut WCHAR,
nameSize: UINT32,
textRange: *mut DWRITE_TEXT_RANGE
) -> HRESULT
pub unsafe fn Draw(
&self,
clientDrawingContext: *mut c_void,
renderer: *mut IDWriteTextRenderer,
originX: FLOAT,
originY: FLOAT
) -> HRESULT
[src]
&self,
clientDrawingContext: *mut c_void,
renderer: *mut IDWriteTextRenderer,
originX: FLOAT,
originY: FLOAT
) -> HRESULT
pub unsafe fn GetLineMetrics(
&self,
lineMetrics: *mut DWRITE_LINE_METRICS,
maxLineCount: UINT32,
actualLineCount: *mut UINT32
) -> HRESULT
[src]
&self,
lineMetrics: *mut DWRITE_LINE_METRICS,
maxLineCount: UINT32,
actualLineCount: *mut UINT32
) -> HRESULT
pub unsafe fn GetMetrics(
&self,
textMetrics: *mut DWRITE_TEXT_METRICS
) -> HRESULT
[src]
&self,
textMetrics: *mut DWRITE_TEXT_METRICS
) -> HRESULT
pub unsafe fn GetOverhangMetrics(
&self,
overhangs: *mut DWRITE_OVERHANG_METRICS
) -> HRESULT
[src]
&self,
overhangs: *mut DWRITE_OVERHANG_METRICS
) -> HRESULT
pub unsafe fn GetClusterMetrics(
&self,
clusterMetrics: *mut DWRITE_CLUSTER_METRICS,
maxClusterCount: UINT32,
actualClusterCount: *mut UINT32
) -> HRESULT
[src]
&self,
clusterMetrics: *mut DWRITE_CLUSTER_METRICS,
maxClusterCount: UINT32,
actualClusterCount: *mut UINT32
) -> HRESULT
pub unsafe fn DetermineMinWidth(&self, minWidth: *mut FLOAT) -> HRESULT
[src]
pub unsafe fn HitTestPoint(
&self,
pointX: FLOAT,
pointY: FLOAT,
isTrailingHit: *mut BOOL,
isInside: *mut BOOL,
hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS
) -> HRESULT
[src]
&self,
pointX: FLOAT,
pointY: FLOAT,
isTrailingHit: *mut BOOL,
isInside: *mut BOOL,
hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS
) -> HRESULT
pub unsafe fn HitTestTextPosition(
&self,
textPosition: UINT32,
isTrailingHit: BOOL,
pointX: *mut FLOAT,
pointY: *mut FLOAT,
hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS
) -> HRESULT
[src]
&self,
textPosition: UINT32,
isTrailingHit: BOOL,
pointX: *mut FLOAT,
pointY: *mut FLOAT,
hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS
) -> HRESULT
pub unsafe fn HitTestTextRange(
&self,
textPosition: UINT32,
textLength: UINT32,
originX: FLOAT,
originY: FLOAT,
hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS,
maxHitTestMetricsCount: UINT32,
actualHitTestMetricsCount: *mut UINT32
) -> HRESULT
[src]
&self,
textPosition: UINT32,
textLength: UINT32,
originX: FLOAT,
originY: FLOAT,
hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS,
maxHitTestMetricsCount: UINT32,
actualHitTestMetricsCount: *mut UINT32
) -> HRESULT
Trait Implementations
impl Interface for IDWriteTextLayout1
[src]
impl Deref for IDWriteTextLayout1
[src]
type Target = IDWriteTextLayout
The resulting type after dereferencing.
fn deref(&self) -> &IDWriteTextLayout
[src]
Auto Trait Implementations
impl !Send for IDWriteTextLayout1
impl !Sync for IDWriteTextLayout1
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,