public MFVector(MFVector xyz, float w) { x = xyz.x; y = xyz.y; z = xyz.z; this.w = w; }
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)); }
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)); }
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)); }
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);
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);
private static extern int MFFont_BlitText(MFFont font, int x, int y, ref MFVector colour, [MarshalAs(UnmanagedType.LPStr)] string text, int maxChars);
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); }
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); }
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);
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); }