示例#1
0
 public int GetGdiCompatibleMetrics([NativeTypeName("FLOAT")] float emSize, [NativeTypeName("FLOAT")] float pixelsPerDip, [NativeTypeName("const DWRITE_MATRIX *")] DWRITE_MATRIX *transform, [NativeTypeName("DWRITE_FONT_METRICS1 *")] DWRITE_FONT_METRICS1 *fontMetrics)
 {
     return(((delegate * unmanaged <IDWriteFontFace4 *, float, float, DWRITE_MATRIX *, DWRITE_FONT_METRICS1 *, int>)(lpVtbl[19]))((IDWriteFontFace4 *)Unsafe.AsPointer(ref this), emSize, pixelsPerDip, transform, fontMetrics));
 }
 public void GetMetrics(DWRITE_FONT_METRICS1 *fontMetrics)
 {
     ((delegate * unmanaged <IDWriteFont3 *, DWRITE_FONT_METRICS1 *, void>)(lpVtbl[14]))((IDWriteFont3 *)Unsafe.AsPointer(ref this), fontMetrics);
 }
示例#3
0
 public void GetMetrics([NativeTypeName("DWRITE_FONT_METRICS1 *")] DWRITE_FONT_METRICS1 *fontMetrics)
 {
     ((delegate * unmanaged <IDWriteFontFace4 *, DWRITE_FONT_METRICS1 *, void>)(lpVtbl[18]))((IDWriteFontFace4 *)Unsafe.AsPointer(ref this), fontMetrics);
 }