Beispiel #1
0
 internal bool DrawTextInRect(
     ref string text,
     ref int xRelStart,
     ref int yRelStart,
     int v1,
     int v2,
     int width,
     int height,
     uint flags,
     Media.Color color,
     Font font)
 {
     return(this.surface.DrawTextInRect(ref text, ref xRelStart, ref yRelStart, v1, v2, width, height, flags, color.ToNativeColor(), font));
 }
Beispiel #2
0
 internal void DrawEllipse(
     Media.Color color1,
     ushort thickness,
     int v1,
     int v2,
     int xRadius,
     int yRadius,
     Media.Color color2,
     int v3,
     int v4,
     Media.Color color3,
     int v5,
     int v6,
     ushort v7)
 {
     this.surface.DrawEllipse(color1.ToNativeColor(), (int)thickness, v1, v2, xRadius, yRadius, color2.ToNativeColor(), v3, v4, color3.ToNativeColor(), v5, v6, v7);
 }
Beispiel #3
0
 internal void DrawRectangle(
     Media.Color outlineColor,
     ushort outlineThickness,
     int x,
     int y,
     int width,
     int height,
     int v1,
     int v2,
     Media.Color color1,
     int v3,
     int v4,
     Media.Color color2,
     int v5,
     int v6,
     ushort opacity)
 {
     this.surface.DrawRectangle(outlineColor.ToNativeColor(), (int)outlineThickness, x, y, width, height, v1, v2, color1.ToNativeColor(), v3, v4, color2.ToNativeColor(), v5, v6, opacity);
 }
Beispiel #4
0
 internal void SetPixel(int x, int y, Media.Color color)
 {
     this.surface.SetPixel(x, y, color.ToNativeColor());
 }
Beispiel #5
0
 internal void DrawText(string text, Font font, Media.Color color, int v1, int v2)
 {
     this.surface.DrawText(text, font, color.ToNativeColor(), v1, v2);
 }
Beispiel #6
0
 internal void DrawLine(Media.Color color, int v, int ix1, int y1, int ix2, int y2)
 {
     this.surface.DrawLine(color.ToNativeColor(), v, ix1, y1, ix2, y2);
 }