Esempio n. 1
0
 private static void ConvertPoint(GenxyWriter writer, Point point)
 {
     writer.WriteToken(GenxyToken.Point);
     writer.WriteHexInteger(point.X);
     writer.WriteChar('.');
     writer.WriteHexInteger(point.Y);
 }
Esempio n. 2
0
 private static void ConvertArea(GenxyWriter writer, Area area)
 {
     writer.WriteToken(GenxyToken.Area);
     writer.WriteHexInteger(area.X1);
     writer.WriteChar('.');
     writer.WriteHexInteger(area.Y1);
     writer.WriteChar('.');
     writer.WriteHexInteger(area.X2);
     writer.WriteChar('.');
     writer.WriteHexInteger(area.Y2);
 }
Esempio n. 3
0
 private static void ConvertColor(GenxyWriter writer, Color color)
 {
     writer.WriteToken(GenxyToken.Color);
     writer.WriteHexInteger(color.R);
     writer.WriteChar('.');
     writer.WriteHexInteger(color.G);
     writer.WriteChar('.');
     writer.WriteHexInteger(color.B);
     writer.WriteChar('.');
     writer.WriteHexInteger(color.A);
 }
Esempio n. 4
0
 public static void ConvertInt(GenxyWriter writer, int value)
 {
     writer.WriteToken(GenxyToken.Integer);
     writer.WriteHexInteger(value);
 }