Exemplo n.º 1
0
 private static extern float MFFont_DrawTextAnchored(MFFont font, [MarshalAs(UnmanagedType.LPStr)] string text, ref MFVector pos, MFFontJustify justification, float lineWidth, float textHeight, ref MFVector colour, int numChars, ref MFMatrix ltw);
Exemplo n.º 2
0
 private Font(MFFont handle)
 {
     resource.handle = handle;
 }
Exemplo n.º 3
0
 private static extern int MFFont_BlitText(MFFont font, int x, int y, ref MFVector colour, [MarshalAs(UnmanagedType.LPStr)] string text, int maxChars);
Exemplo n.º 4
0
 private static extern float MFFont_DrawText2(MFFont font, float x, float y, float height, ref MFVector colour, [MarshalAs(UnmanagedType.LPStr)] string text, int maxChars, ref MFMatrix ltw);
Exemplo n.º 5
0
 private static extern float MFFont_GetStringWidth(MFFont font, [MarshalAs(UnmanagedType.LPStr)] string text, float height, float lineWidth, int maxLen, out float totalHeight);
Exemplo n.º 6
0
 private static extern MFVector MFFont_GetCharPos(MFFont font, [MarshalAs(UnmanagedType.LPStr)] string text, int charIndex, float height);
Exemplo n.º 7
0
 private static extern float MFFont_GetCharacterWidth(MFFont font, int character);
Exemplo n.º 8
0
 private static extern float MFFont_GetFontHeight(MFFont font);
Exemplo n.º 9
0
 private static extern int MFFont_Release(MFFont font);