mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 21:38:52 +00:00
- Mode and Point are now structures - The copy of System.Drawing.Color is not needed anymore the real System.DrawingColor is used instead - Updated CGS Test Kernel - Made SVGAII a little more faster (but this not the complete solution)
29 lines
456 B
C#
29 lines
456 B
C#
//#define COSMOSDEBUG
|
|
|
|
namespace Cosmos.System.Graphics
|
|
{
|
|
public struct Point
|
|
{
|
|
public Point(int x, int y)
|
|
{
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
private int x;
|
|
|
|
public int X
|
|
{
|
|
get { return x; }
|
|
set { x = value; }
|
|
}
|
|
|
|
private int y;
|
|
|
|
public int Y
|
|
{
|
|
get { return y; }
|
|
set { y = value; }
|
|
}
|
|
}
|
|
}
|