IDWriteTextAnalyzer1Vtbl

Struct IDWriteTextAnalyzer1Vtbl 

Source
#[repr(C)]
pub struct IDWriteTextAnalyzer1Vtbl { pub parent: IDWriteTextAnalyzerVtbl, pub ApplyCharacterSpacing: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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 GetBaseline: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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 AnalyzeVerticalGlyphOrientation: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, analysisSource: *mut IDWriteTextAnalysisSource1, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink1) -> HRESULT, pub GetGlyphOrientationTransform: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE, isSideways: BOOL, transform: *mut DWRITE_MATRIX) -> HRESULT, pub GetScriptProperties: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, scriptAnalysis: DWRITE_SCRIPT_ANALYSIS, scriptProperties: *mut DWRITE_SCRIPT_PROPERTIES) -> HRESULT, pub GetTextComplexity: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, textString: *const WCHAR, textLength: UINT32, fontFace: *mut IDWriteFontFace, isTextSimple: *mut BOOL, textLengthRead: *mut UINT32, glyphIndices: *mut UINT16) -> HRESULT, pub GetJustificationOpportunities: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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 JustifyGlyphAdvances: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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 GetJustifiedGlyphs: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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, }

Fields§

§parent: IDWriteTextAnalyzerVtbl§ApplyCharacterSpacing: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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§GetBaseline: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, fontFace: *mut IDWriteFontFace, baseline: DWRITE_BASELINE, isVertical: BOOL, isSimulationAllowed: BOOL, scriptAnalysis: DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, baselineCoordinate: *mut INT32, exists: *mut BOOL) -> HRESULT§AnalyzeVerticalGlyphOrientation: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, analysisSource: *mut IDWriteTextAnalysisSource1, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink1) -> HRESULT§GetGlyphOrientationTransform: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE, isSideways: BOOL, transform: *mut DWRITE_MATRIX) -> HRESULT§GetScriptProperties: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, scriptAnalysis: DWRITE_SCRIPT_ANALYSIS, scriptProperties: *mut DWRITE_SCRIPT_PROPERTIES) -> HRESULT§GetTextComplexity: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, textString: *const WCHAR, textLength: UINT32, fontFace: *mut IDWriteFontFace, isTextSimple: *mut BOOL, textLengthRead: *mut UINT32, glyphIndices: *mut UINT16) -> HRESULT§GetJustificationOpportunities: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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§JustifyGlyphAdvances: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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§GetJustifiedGlyphs: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer1, 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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.