[−][src]Struct winapi::um::dwrite_2::IDWriteTextAnalyzer2
Fields
lpVtbl: *const IDWriteTextAnalyzer2Vtbl
Methods
impl IDWriteTextAnalyzer2
[src]
pub unsafe fn GetGlyphOrientationTransform(
&self,
glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE,
isSideways: BOOL,
originX: FLOAT,
originY: FLOAT,
transform: *mut DWRITE_MATRIX
) -> HRESULT
[src]
&self,
glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE,
isSideways: BOOL,
originX: FLOAT,
originY: FLOAT,
transform: *mut DWRITE_MATRIX
) -> HRESULT
pub unsafe fn GetTypographicFeatures(
&self,
fontFace: *mut IDWriteFontFace,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
localeName: *const WCHAR,
maxTagCount: UINT32,
actualTagCount: *mut UINT32,
tags: *mut DWRITE_FONT_FEATURE_TAG
) -> HRESULT
[src]
&self,
fontFace: *mut IDWriteFontFace,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
localeName: *const WCHAR,
maxTagCount: UINT32,
actualTagCount: *mut UINT32,
tags: *mut DWRITE_FONT_FEATURE_TAG
) -> HRESULT
pub unsafe fn CheckTypographicFeature(
&self,
fontFace: *mut IDWriteFontFace,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
localeName: *const WCHAR,
featureTag: DWRITE_FONT_FEATURE_TAG,
glyphCount: UINT32,
glyphIndices: *const UINT16,
featureApplies: *mut UINT8
) -> HRESULT
[src]
&self,
fontFace: *mut IDWriteFontFace,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
localeName: *const WCHAR,
featureTag: DWRITE_FONT_FEATURE_TAG,
glyphCount: UINT32,
glyphIndices: *const UINT16,
featureApplies: *mut UINT8
) -> HRESULT
Methods from Deref<Target = IDWriteTextAnalyzer1>
pub unsafe fn ApplyCharacterSpacing(
&self,
leadingSpacing: FLOAT,
trailingSpacing: FLOAT,
minimumAdvanceWidth: FLOAT,
textLength: UINT32,
glyphCount: UINT32,
clusterMap: *const UINT16,
glyphAdvances: *const FLOAT,
glyphOffsets: *const DWRITE_GLYPH_OFFSET,
glyphProperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
modifiedGlyphAdvances: *mut FLOAT,
modifiedGlyphOffsets: *mut DWRITE_GLYPH_OFFSET
) -> HRESULT
[src]
&self,
leadingSpacing: FLOAT,
trailingSpacing: FLOAT,
minimumAdvanceWidth: FLOAT,
textLength: UINT32,
glyphCount: UINT32,
clusterMap: *const UINT16,
glyphAdvances: *const FLOAT,
glyphOffsets: *const DWRITE_GLYPH_OFFSET,
glyphProperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
modifiedGlyphAdvances: *mut FLOAT,
modifiedGlyphOffsets: *mut DWRITE_GLYPH_OFFSET
) -> HRESULT
pub unsafe fn GetBaseline(
&self,
fontFace: *mut IDWriteFontFace,
baseline: DWRITE_BASELINE,
isVertical: BOOL,
isSimulationAllowed: BOOL,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
localeName: *const WCHAR,
baselineCoordinate: *mut INT32,
exists: *mut BOOL
) -> HRESULT
[src]
&self,
fontFace: *mut IDWriteFontFace,
baseline: DWRITE_BASELINE,
isVertical: BOOL,
isSimulationAllowed: BOOL,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
localeName: *const WCHAR,
baselineCoordinate: *mut INT32,
exists: *mut BOOL
) -> HRESULT
pub unsafe fn AnalyzeVerticalGlyphOrientation(
&self,
analysisSource: *mut IDWriteTextAnalysisSource1,
textPosition: UINT32,
textLength: UINT32,
analysisSink: *mut IDWriteTextAnalysisSink1
) -> HRESULT
[src]
&self,
analysisSource: *mut IDWriteTextAnalysisSource1,
textPosition: UINT32,
textLength: UINT32,
analysisSink: *mut IDWriteTextAnalysisSink1
) -> HRESULT
pub unsafe fn GetGlyphOrientationTransform(
&self,
glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE,
isSideways: BOOL,
transform: *mut DWRITE_MATRIX
) -> HRESULT
[src]
&self,
glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE,
isSideways: BOOL,
transform: *mut DWRITE_MATRIX
) -> HRESULT
pub unsafe fn GetScriptProperties(
&self,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
scriptProperties: *mut DWRITE_SCRIPT_PROPERTIES
) -> HRESULT
[src]
&self,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
scriptProperties: *mut DWRITE_SCRIPT_PROPERTIES
) -> HRESULT
pub unsafe fn GetTextComplexity(
&self,
textString: *const WCHAR,
textLength: UINT32,
fontFace: *mut IDWriteFontFace,
isTextSimple: *mut BOOL,
textLengthRead: *mut UINT32,
glyphIndices: *mut UINT16
) -> HRESULT
[src]
&self,
textString: *const WCHAR,
textLength: UINT32,
fontFace: *mut IDWriteFontFace,
isTextSimple: *mut BOOL,
textLengthRead: *mut UINT32,
glyphIndices: *mut UINT16
) -> HRESULT
pub unsafe fn GetJustificationOpportunities(
&self,
fontFace: *mut IDWriteFontFace,
fontEmSize: FLOAT,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
textLength: UINT32,
glyphCount: UINT32,
textString: *const WCHAR,
clusterMap: *const UINT16,
glyphProperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
justificationOpportunities: *mut DWRITE_JUSTIFICATION_OPPORTUNITY
) -> HRESULT
[src]
&self,
fontFace: *mut IDWriteFontFace,
fontEmSize: FLOAT,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
textLength: UINT32,
glyphCount: UINT32,
textString: *const WCHAR,
clusterMap: *const UINT16,
glyphProperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
justificationOpportunities: *mut DWRITE_JUSTIFICATION_OPPORTUNITY
) -> HRESULT
pub unsafe fn JustifyGlyphAdvances(
&self,
lineWidth: FLOAT,
glyphCount: UINT32,
justificationOpportunities: *const DWRITE_JUSTIFICATION_OPPORTUNITY,
glyphAdvances: *const FLOAT,
glyphOffsets: *const DWRITE_GLYPH_OFFSET,
justifiedGlyphAdvances: *mut FLOAT,
justifiedGlyphOffsets: *mut DWRITE_GLYPH_OFFSET
) -> HRESULT
[src]
&self,
lineWidth: FLOAT,
glyphCount: UINT32,
justificationOpportunities: *const DWRITE_JUSTIFICATION_OPPORTUNITY,
glyphAdvances: *const FLOAT,
glyphOffsets: *const DWRITE_GLYPH_OFFSET,
justifiedGlyphAdvances: *mut FLOAT,
justifiedGlyphOffsets: *mut DWRITE_GLYPH_OFFSET
) -> HRESULT
pub unsafe fn GetJustifiedGlyphs(
&self,
fontFace: *mut IDWriteFontFace,
fontEmSize: FLOAT,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
textLength: UINT32,
glyphCount: UINT32,
maxGlyphCount: UINT32,
clusterMap: *const UINT16,
glyphIndices: *const UINT16,
glyphAdvances: *const FLOAT,
justifiedGlyphAdvances: *const FLOAT,
justifiedGlyphOffsets: *const DWRITE_GLYPH_OFFSET,
glyphProperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
actualGlyphCount: *mut UINT32,
modifiedClusterMap: *mut UINT16,
modifiedGlyphIndices: *mut UINT16,
modifiedGlyphAdvances: *mut FLOAT,
modifiedGlyphOffsets: *mut DWRITE_GLYPH_OFFSET
) -> HRESULT
[src]
&self,
fontFace: *mut IDWriteFontFace,
fontEmSize: FLOAT,
scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
textLength: UINT32,
glyphCount: UINT32,
maxGlyphCount: UINT32,
clusterMap: *const UINT16,
glyphIndices: *const UINT16,
glyphAdvances: *const FLOAT,
justifiedGlyphAdvances: *const FLOAT,
justifiedGlyphOffsets: *const DWRITE_GLYPH_OFFSET,
glyphProperties: *const DWRITE_SHAPING_GLYPH_PROPERTIES,
actualGlyphCount: *mut UINT32,
modifiedClusterMap: *mut UINT16,
modifiedGlyphIndices: *mut UINT16,
modifiedGlyphAdvances: *mut FLOAT,
modifiedGlyphOffsets: *mut DWRITE_GLYPH_OFFSET
) -> HRESULT
Trait Implementations
impl Interface for IDWriteTextAnalyzer2
[src]
impl Deref for IDWriteTextAnalyzer2
[src]
type Target = IDWriteTextAnalyzer1
The resulting type after dereferencing.
fn deref(&self) -> &IDWriteTextAnalyzer1
[src]
Auto Trait Implementations
impl !Send for IDWriteTextAnalyzer2
impl !Sync for IDWriteTextAnalyzer2
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,