示例#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_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);
示例#3
0
 public float DrawText2(string text, float x, float y, float height, ref MFVector colour, int maxChars, MFMatrix ltw)
 {
     return(MFFont_DrawText2(resource.handle, x, y, height, ref colour, text, maxChars, ref ltw));
 }
示例#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);
示例#5
0
文件: Font.cs 项目: TurkeyMan/fuji
 public float DrawText2(string text, float x, float y, float height, ref MFVector colour, int maxChars, MFMatrix ltw)
 {
     return MFFont_DrawText2(resource.handle, x, y, height, ref colour, text, maxChars, ref ltw);
 }
示例#6
0
文件: Font.cs 项目: TurkeyMan/fuji
 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);
示例#7
0
文件: Font.cs 项目: TurkeyMan/fuji
 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);
示例#8
0
文件: Font.cs 项目: TurkeyMan/fuji
 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);
 }