public int JustifyGlyphAdvances([NativeTypeName("FLOAT")] float lineWidth, [NativeTypeName("UINT32")] uint glyphCount, [NativeTypeName("const DWRITE_JUSTIFICATION_OPPORTUNITY *")] DWRITE_JUSTIFICATION_OPPORTUNITY *justificationOpportunities, [NativeTypeName("const FLOAT *")] float *glyphAdvances, [NativeTypeName("const DWRITE_GLYPH_OFFSET *")] DWRITE_GLYPH_OFFSET *glyphOffsets, [NativeTypeName("FLOAT *")] float *justifiedGlyphAdvances, DWRITE_GLYPH_OFFSET *justifiedGlyphOffsets) { return(((delegate * unmanaged <IDWriteTextAnalyzer1 *, float, uint, DWRITE_JUSTIFICATION_OPPORTUNITY *, float *, DWRITE_GLYPH_OFFSET *, float *, DWRITE_GLYPH_OFFSET *, int>)(lpVtbl[17]))((IDWriteTextAnalyzer1 *)Unsafe.AsPointer(ref this), lineWidth, glyphCount, justificationOpportunities, glyphAdvances, glyphOffsets, justifiedGlyphAdvances, justifiedGlyphOffsets)); }
public int GetJustificationOpportunities(IDWriteFontFace *fontFace, [NativeTypeName("FLOAT")] float fontEmSize, DWRITE_SCRIPT_ANALYSIS scriptAnalysis, [NativeTypeName("UINT32")] uint textLength, [NativeTypeName("UINT32")] uint glyphCount, [NativeTypeName("const WCHAR *")] ushort *textString, [NativeTypeName("const UINT16 *")] ushort *clusterMap, [NativeTypeName("const DWRITE_SHAPING_GLYPH_PROPERTIES *")] DWRITE_SHAPING_GLYPH_PROPERTIES *glyphProperties, DWRITE_JUSTIFICATION_OPPORTUNITY *justificationOpportunities) { return(((delegate * unmanaged <IDWriteTextAnalyzer1 *, IDWriteFontFace *, float, DWRITE_SCRIPT_ANALYSIS, uint, uint, ushort *, ushort *, DWRITE_SHAPING_GLYPH_PROPERTIES *, DWRITE_JUSTIFICATION_OPPORTUNITY *, int>)(lpVtbl[16]))((IDWriteTextAnalyzer1 *)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, textString, clusterMap, glyphProperties, justificationOpportunities)); }