** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.h,v 1.12 2000/07/29 19:50:08 kevin Exp $
+** $Id: sgp.h,v 1.13 2000/08/02 18:06:00 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
};
#ifdef HAVE_WXWINDOWS
- SGPDriver (wxDC* pDC, const char* szWinTitle = "", int xsize = 640, int ysize = 480);
+ SGPDriver (wxDC* pDC, int xsize = 640, int ysize = 480);
#endif
SGPDriver (const char* szWinTitle = "", int xsize = 640, int ysize = 480);
void setTextAngle (double angle);
void setTextColor (int iFGcolor, int iBGcolor);
void setMarker (int idMarker, int color);
+ void setRasterOp (int ro);
void ctmClear ();
void ctmSet (const TransformationMatrix2D& m);
C_WHITE = 15,
};
+enum RasterOp {
+ RO_AND = 1,
+ RO_AND_INVERT,
+ RO_AND_REVERSE,
+ RO_CLEAR,
+ RO_COPY,
+ RO_EQUIV,
+ RO_INVERT,
+ RO_NAND,
+ RO_NOR,
+ RO_NO_OP,
+ RO_OR,
+ RO_OR_INVERT,
+ RO_OR_REVERSE,
+ RO_SET,
+ RO_SRC_INVERT,
+ RO_XOR,
+};
+
+
class RGBColor {
private:
short int r;