[][src]Struct winapi::um::dwrite_2::IDWriteTextAnalyzer2

#[repr(C)]
pub struct IDWriteTextAnalyzer2 { pub lpVtbl: *const IDWriteTextAnalyzer2Vtbl, }

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]

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]

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]

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]

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]

pub unsafe fn AnalyzeVerticalGlyphOrientation(
    &self,
    analysisSource: *mut IDWriteTextAnalysisSource1,
    textPosition: UINT32,
    textLength: UINT32,
    analysisSink: *mut IDWriteTextAnalysisSink1
) -> HRESULT
[src]

pub unsafe fn GetGlyphOrientationTransform(
    &self,
    glyphOrientationAngle: DWRITE_GLYPH_ORIENTATION_ANGLE,
    isSideways: BOOL,
    transform: *mut DWRITE_MATRIX
) -> HRESULT
[src]

pub unsafe fn GetScriptProperties(
    &self,
    scriptAnalysis: DWRITE_SCRIPT_ANALYSIS,
    scriptProperties: *mut DWRITE_SCRIPT_PROPERTIES
) -> HRESULT
[src]

pub unsafe fn GetTextComplexity(
    &self,
    textString: *const WCHAR,
    textLength: UINT32,
    fontFace: *mut IDWriteFontFace,
    isTextSimple: *mut BOOL,
    textLengthRead: *mut UINT32,
    glyphIndices: *mut UINT16
) -> HRESULT
[src]

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]

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]

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]

Trait Implementations

impl Interface for IDWriteTextAnalyzer2[src]

impl Deref for IDWriteTextAnalyzer2[src]

type Target = IDWriteTextAnalyzer1

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]