Esempio 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);
Esempio n. 2
0
 private Font(MFFont handle)
 {
     resource.handle = handle;
 }
Esempio 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);
Esempio 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);
Esempio 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);
Esempio n. 6
0
 private static extern MFVector MFFont_GetCharPos(MFFont font, [MarshalAs(UnmanagedType.LPStr)] string text, int charIndex, float height);
Esempio n. 7
0
 private static extern float MFFont_GetCharacterWidth(MFFont font, int character);
Esempio n. 8
0
 private static extern float MFFont_GetFontHeight(MFFont font);
Esempio n. 9
0
 private static extern int MFFont_Release(MFFont font);