Пример #1
0
 public float DrawTextAnchored(string text, MFVector pos, MFFontJustify justification, float lineWidth, float textHeight, MFVector colour, int numChars, MFMatrix ltw)
 {
     return(MFFont_DrawTextAnchored(resource.handle, text, ref pos, justification, lineWidth, textHeight, ref colour, numChars, ref ltw));
 }
Пример #2
0
 private static extern float MFFont_DrawTextJustified(MFFont font, [MarshalAs(UnmanagedType.LPStr)] string text, ref MFVector pos, float boxWidth, float boxHeight, MFFontJustify justification, float textHeight, ref MFVector colour, int numChars, ref MFMatrix ltw);
Пример #3
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);
Пример #4
0
 public float DrawTextJustified(string text, MFVector pos, float boxWidth, float boxHeight, MFFontJustify justification, float textHeight, MFVector colour, int numChars, MFMatrix ltw)
 {
     return MFFont_DrawTextJustified(resource.handle, text, ref pos, boxWidth, boxHeight, justification, textHeight, ref colour, numChars, ref ltw);
 }