Struct IDWriteTextAnalyzerVtbl

Source
#[repr(C)]
pub struct IDWriteTextAnalyzerVtbl { pub parent: IUnknownVtbl, pub AnalyzeScript: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT, pub AnalyzeBidi: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT, pub AnalyzeNumberSubstitution: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT, pub AnalyzeLineBreakpoints: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT, pub GetGlyphs: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, textString: *const WCHAR, textLength: UINT32, fontFace: *mut IDWriteFontFace, isSideways: BOOL, isRightToLeft: BOOL, scriptAnalysis: *const DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, numberSubstitution: *mut IDWriteNumberSubstitution, features: *mut *const DWRITE_TYPOGRAPHIC_FEATURES, featureRangeLengths: *const UINT32, featureRanges: UINT32, maxGlyphCount: UINT32, clusterMap: *mut UINT16, textProps: *mut DWRITE_SHAPING_TEXT_PROPERTIES, glyphIndices: *mut UINT16, glyphProps: *mut DWRITE_SHAPING_GLYPH_PROPERTIES, actualGlyphCount: *mut UINT32) -> HRESULT, pub GetGlyphPlacements: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, textString: *const WCHAR, clusterMap: *const UINT16, textProps: *mut DWRITE_SHAPING_TEXT_PROPERTIES, textLength: UINT32, glyphIndices: *const UINT16, glyphProps: *const DWRITE_SHAPING_GLYPH_PROPERTIES, glyphCount: UINT32, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, scriptAnalysis: *const DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, features: *mut *const DWRITE_TYPOGRAPHIC_FEATURES, featureRangeLengths: *const UINT32, featureRanges: UINT32, glyphAdvances: *mut FLOAT, glyphOffsets: *mut DWRITE_GLYPH_OFFSET) -> HRESULT, pub GetGdiCompatibleGlyphPlacements: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, textString: *const WCHAR, clusterMap: *const UINT16, textProps: *mut DWRITE_SHAPING_TEXT_PROPERTIES, textLength: UINT32, glyphIndices: *const UINT16, glyphProps: *const DWRITE_SHAPING_GLYPH_PROPERTIES, glyphCount: UINT32, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatrual: BOOL, isSideways: BOOL, isRightToLeft: BOOL, scriptAnalysis: *const DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, features: *mut *const DWRITE_TYPOGRAPHIC_FEATURES, featureRangeLengths: *const UINT32, featureRanges: UINT32, glyphAdvances: *mut FLOAT, glyphOffsets: *mut DWRITE_GLYPH_OFFSET) -> HRESULT, }

Fields§

§parent: IUnknownVtbl§AnalyzeScript: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT§AnalyzeBidi: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT§AnalyzeNumberSubstitution: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT§AnalyzeLineBreakpoints: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, analysisSource: *mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: *mut IDWriteTextAnalysisSink) -> HRESULT§GetGlyphs: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, textString: *const WCHAR, textLength: UINT32, fontFace: *mut IDWriteFontFace, isSideways: BOOL, isRightToLeft: BOOL, scriptAnalysis: *const DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, numberSubstitution: *mut IDWriteNumberSubstitution, features: *mut *const DWRITE_TYPOGRAPHIC_FEATURES, featureRangeLengths: *const UINT32, featureRanges: UINT32, maxGlyphCount: UINT32, clusterMap: *mut UINT16, textProps: *mut DWRITE_SHAPING_TEXT_PROPERTIES, glyphIndices: *mut UINT16, glyphProps: *mut DWRITE_SHAPING_GLYPH_PROPERTIES, actualGlyphCount: *mut UINT32) -> HRESULT§GetGlyphPlacements: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, textString: *const WCHAR, clusterMap: *const UINT16, textProps: *mut DWRITE_SHAPING_TEXT_PROPERTIES, textLength: UINT32, glyphIndices: *const UINT16, glyphProps: *const DWRITE_SHAPING_GLYPH_PROPERTIES, glyphCount: UINT32, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, scriptAnalysis: *const DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, features: *mut *const DWRITE_TYPOGRAPHIC_FEATURES, featureRangeLengths: *const UINT32, featureRanges: UINT32, glyphAdvances: *mut FLOAT, glyphOffsets: *mut DWRITE_GLYPH_OFFSET) -> HRESULT§GetGdiCompatibleGlyphPlacements: unsafe extern "system" fn(This: *mut IDWriteTextAnalyzer, textString: *const WCHAR, clusterMap: *const UINT16, textProps: *mut DWRITE_SHAPING_TEXT_PROPERTIES, textLength: UINT32, glyphIndices: *const UINT16, glyphProps: *const DWRITE_SHAPING_GLYPH_PROPERTIES, glyphCount: UINT32, fontFace: *mut IDWriteFontFace, fontEmSize: FLOAT, pixelsPerDip: FLOAT, transform: *const DWRITE_MATRIX, useGdiNatrual: BOOL, isSideways: BOOL, isRightToLeft: BOOL, scriptAnalysis: *const DWRITE_SCRIPT_ANALYSIS, localeName: *const WCHAR, features: *mut *const DWRITE_TYPOGRAPHIC_FEATURES, featureRangeLengths: *const UINT32, featureRanges: UINT32, glyphAdvances: *mut FLOAT, glyphOffsets: *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.