X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=include%2Fsgp.h;fp=include%2Fsgp.h;h=0a5fe0344ea7a9c9bd5359d750a7106f703b1a08;hb=6bfb747f8163381d94a02c03a0351e9ca6815d22;hp=62407526e47f75efe1c439429086382400c57a12;hpb=1e88cf0f7fa4f690ea9f110e8ed3f2b5338d0a10;p=ctsim.git diff --git a/include/sgp.h b/include/sgp.h index 6240752..0a5fe03 100644 --- a/include/sgp.h +++ b/include/sgp.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: sgp.h,v 1.14 2000/08/25 15:59:13 kevin Exp $ +** $Id: sgp.h,v 1.15 2000/08/27 20:32:55 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 @@ -138,7 +138,7 @@ private: static int s_iRGBColorCount; #if HAVE_WXWINDOWS - wxPen* m_pPen; + wxPen m_pen; #endif public: @@ -171,7 +171,7 @@ public: SGP (const SGPDriver& driver); void drawCircle (const double r); - void drawArc (double start, double stop, const double r); + void drawArc (const double r, double start, double stop); void drawRect (double xmin, double ymin, double xmax, double ymax); void lineAbs(double x, double y); void moveAbs(double x, double y); @@ -195,9 +195,13 @@ public: void setTextSize (double height); void setTextAngle (double angle); void setTextColor (int iFGcolor, int iBGcolor); + void setPenWidth (int width); void setMarker (int idMarker, int color); void setRasterOp (int ro); + void getTextExtent (const char *szText, double* x, double* y); + double getCharHeight (); + void ctmClear (); void ctmSet (const TransformationMatrix2D& m); void preTranslate (double x, double y);