예제 #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
파일: 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);
예제 #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
파일: 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);
 }