![]() |
PICSimLab - Programmable IC Simulator Laboratory 0.9.2
PICSimLab - API
|

Public Attributes | ||
| PICSimLabCanvasCmd | cmd | |
| union { | ||
| struct { | ||
| const double sx | ||
| const double sy | ||
| const int angle | ||
| } Init | ||
| struct { | ||
| const double sx | ||
| const double sy | ||
| } ChangeScale | ||
| struct { | ||
| } End | ||
| struct { | ||
| const int BitmapId | ||
| const double xs | ||
| const double ys | ||
| } SetBitmap | ||
| struct { | ||
| const unsigned int r | ||
| const unsigned int g | ||
| const unsigned int b | ||
| } SetColor | ||
| struct { | ||
| const unsigned int r | ||
| const unsigned int g | ||
| const unsigned int b | ||
| } SetFgColor | ||
| struct { | ||
| const unsigned int r | ||
| const unsigned int g | ||
| const unsigned int b | ||
| } SetBgColor | ||
| struct { | ||
| const int pointsize | ||
| } SetFontSize | ||
| struct { | ||
| const int weight | ||
| } SetFontWeight | ||
| struct { | ||
| const unsigned int lwidth | ||
| } SetLineWidth | ||
| struct { | ||
| float x | ||
| float y | ||
| } Point | ||
| struct { | ||
| float x1 | ||
| float y1 | ||
| float x2 | ||
| float y2 | ||
| } Line | ||
| struct { | ||
| const bool filled | ||
| float x | ||
| float y | ||
| const float width | ||
| const float height | ||
| } Rectangle | ||
| struct { | ||
| const bool filled | ||
| float x | ||
| float y | ||
| const float radius | ||
| } Circle | ||
| struct { | ||
| const char * str | ||
| float x | ||
| float y | ||
| const float angle | ||
| } RotatedText | ||
| struct { | ||
| const char * str | ||
| const Rect_t rect | ||
| const unsigned int align | ||
| } TextOnRect | ||
| struct { | ||
| const bool filled | ||
| const Point_t * points | ||
| const int npoints | ||
| } Polygon | ||
| struct { | ||
| const int BitmapId | ||
| float x | ||
| float y | ||
| } PutBitmap | ||
| struct { | ||
| unsigned int * r | ||
| unsigned int * g | ||
| unsigned int * b | ||
| } GetBgColor | ||
| struct { | ||
| const int BitmapId | ||
| } Create | ||
| struct { | ||
| } Destroy | ||
| struct { | ||
| const int BitmapId | ||
| } FreeBitmap | ||
| struct { | ||
| const int BitmapId | ||
| unsigned int * w | ||
| unsigned int * h | ||
| } GetBitmapSize | ||
| struct { | ||
| const char * fname | ||
| const float scale | ||
| const int usealpha | ||
| const int orientation | ||
| } LoadImage | ||
| struct { | ||
| const unsigned int width | ||
| const unsigned int height | ||
| const float scale | ||
| const int usealpha | ||
| const int orientation | ||
| } CreateImage | ||
| struct { | ||
| bool filled | ||
| float x1 | ||
| float y1 | ||
| float x2 | ||
| float y2 | ||
| float xc | ||
| float yc | ||
| } Arc | ||
| struct { | ||
| bool filled | ||
| float x | ||
| float y | ||
| float width | ||
| float height | ||
| double start | ||
| double end | ||
| } EllipticArc | ||
| struct { | ||
| const Point_t * points | ||
| const int npoints | ||
| } Lines | ||
| }; | ||