Exemplo n.º 1
0
 public MFVector(MFVector xyz, float w)
 {
     x = xyz.x;
     y = xyz.y;
     z = xyz.z;
     this.w = w;
 }
Exemplo n.º 2
0
 public MFVector(MFVector xyz, float w)
 {
     x      = xyz.x;
     y      = xyz.y;
     z      = xyz.z;
     this.w = w;
 }
Exemplo n.º 3
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));
 }
Exemplo n.º 4
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));
 }
Exemplo n.º 5
0
 public int BlitText(string text, int x, int y, MFVector colour, int maxChars = -1)
 {
     return(MFFont_BlitText(resource.handle, x, y, ref colour, text, maxChars));
 }
Exemplo n.º 6
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.º 7
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.º 8
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.º 9
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);
 }
Exemplo n.º 10
0
 public int BlitText(string text, int x, int y, MFVector colour, int maxChars = -1)
 {
     return MFFont_BlitText(resource.handle, x, y, ref colour, text, maxChars);
 }
Exemplo n.º 11
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);
Exemplo n.º 12
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.º 13
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.º 14
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);
 }