#include <Symbol.h>
Public Member Functions | |
Symbol (SType t=SNONE, QColor c="blue", int s=5, FType f=FNONE, QColor fc="red", int b=1) | |
void | save (QTextStream *t) |
void | open (QTextStream *t, int version) |
void | draw (QPainter *p, int X, int Y) |
draw the Symbol to the specified QPainter at position X,Y | |
SType | getType () |
void | setType (int t) |
QColor | getColor () |
void | setColor (QString c) |
int | getSize () |
void | setSize (int s) |
FType | getFill () |
void | setFill (FType f) |
QColor | getFillColor () |
void | setFillColor (QString fc) |
int | getBrush () |
void | setBrush (int b) |
Private Attributes | |
SType | type |
QColor | color |
int | size |
FType | fill |
QColor | fillcolor |
int | brush |
|
|
|
draw the Symbol to the specified QPainter at position X,Y
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|