24 PlotAttr(
const char *str,
const char *def );
25 int set(
const char *str );
26 int set(
const char *str,
const char *def );
27 int parse(
const char *str );
29 inline int setWidth(
float val ){ width = val;
return 1; };
30 inline float getWidth(){
return width; };
31 inline bool validWidth(){
return width !=
Const::MISS; };
33 inline int setWeight(
float val ){ weight = val;
return 1; };
34 inline float getWeight(){
return weight; };
35 inline bool validWeight(){
return weight !=
Const::MISS; };
37 inline int setHeight(
float val ){ height = val;
return 1; };
38 inline float getHeight(){
return height; };
39 inline bool validHeight(){
return height !=
Const::MISS; };
41 inline int setExpan(
float val ){ expan = val;
return 1; };
42 inline float getExpan(){
return expan; };
43 inline bool validExpan(){
return expan !=
Const::MISS; };
45 inline int getStyle(){
return style; };
46 inline bool validStyle(){
return style !=
Const::MISS; };
48 inline int setShadow(
int val ){ shadow = val;
return 1; };
49 inline int getShadow(){
return shadow; };
50 inline bool validShadow(){
return shadow !=
Const::MISS; };
52 inline int getFillPat(){
return fill_pat; };
53 inline bool validFillPat(){
return fill_pat !=
Const::MISS; };
55 inline int setColorInd(
int val ){ color_ind = val;
return 1; };
56 inline int getColorInd(){
return color_ind; };
57 inline bool validColorInd(){
return color_ind !=
Const::MISS; };
59 int setColor(
const char *str );
60 inline const char *getColor(){
return color; };
63 inline const char *getFont(){
return font; };
66 inline bool validLabel(){
return label[0] != 0; };
67 inline const char *getLabel(){
return label; };
74 static int parseFillStyle(
const char *str );
75 static int parseMarker(
const char *str );
static const int MISS
Definition Const.h:7
This class stores plot attributes.
Definition PlotAttr.h:8
static bool valid(const char *str)
Definition StrLib.cc:791
All WXP classes fall under the WXP namespace.
Definition Angle.h:4