public virtual int GetDesignGlyphMetrics( ref ushort glyphIndices, uint glyphCount, out DWRITE_GLYPH_METRICS glyphMetrics, int isSideways ) { var fp = GetFunctionPointer(10); if (m_GetDesignGlyphMetricsFunc == null) { m_GetDesignGlyphMetricsFunc = (GetDesignGlyphMetricsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDesignGlyphMetricsFunc)); } return(m_GetDesignGlyphMetricsFunc(m_ptr, ref glyphIndices, glyphCount, out glyphMetrics, isSideways)); }
public virtual int GetGdiCompatibleGlyphMetrics( float emSize, float pixelsPerDip, ref DWRITE_MATRIX transform, int useGdiNatural, ref ushort glyphIndices, uint glyphCount, out DWRITE_GLYPH_METRICS glyphMetrics, int isSideways ) { var fp = GetFunctionPointer(17); if (m_GetGdiCompatibleGlyphMetricsFunc == null) { m_GetGdiCompatibleGlyphMetricsFunc = (GetGdiCompatibleGlyphMetricsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetGdiCompatibleGlyphMetricsFunc)); } return(m_GetGdiCompatibleGlyphMetricsFunc(m_ptr, emSize, pixelsPerDip, ref transform, useGdiNatural, ref glyphIndices, glyphCount, out glyphMetrics, isSideways)); }