示例#1
0
 internal bool DrawTextInRect(
     ref string text,
     ref int xRelStart,
     ref int yRelStart,
     int v1,
     int v2,
     int width,
     int height,
     uint flags,
     GHI.Glide.Media.Color color,
     Font font)
 {
     return(this.surface.DrawTextInRect(ref text, ref xRelStart, ref yRelStart, v1, v2, width, height, flags, color.ToNativeColor(), font));
 }
示例#2
0
 internal void DrawEllipse(
     GHI.Glide.Media.Color color1,
     ushort thickness,
     int v1,
     int v2,
     int xRadius,
     int yRadius,
     GHI.Glide.Media.Color color2,
     int v3,
     int v4,
     GHI.Glide.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);
 }
示例#3
0
 internal void DrawRectangle(
     GHI.Glide.Media.Color outlineColor,
     ushort outlineThickness,
     int x,
     int y,
     int width,
     int height,
     int v1,
     int v2,
     GHI.Glide.Media.Color color1,
     int v3,
     int v4,
     GHI.Glide.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);
 }
示例#4
0
 internal void SetPixel(int x, int y, GHI.Glide.Media.Color color)
 {
     this.surface.SetPixel(x, y, color.ToNativeColor());
 }
示例#5
0
 internal void DrawText(string text, Font font, GHI.Glide.Media.Color color, int v1, int v2)
 {
     this.surface.DrawText(text, font, color.ToNativeColor(), v1, v2);
 }
示例#6
0
 internal void DrawLine(GHI.Glide.Media.Color color, int v, int ix1, int y1, int ix2, int y2)
 {
     this.surface.DrawLine(color.ToNativeColor(), v, ix1, y1, ix2, y2);
 }