WXP C++ Library Version 6.74.9
|
This class stores point data attributes. More...
#include "../include/DatumAttr.h"
Public Member Functions | |
int | init () |
int | set (PlotAttr &pattr) |
int | set (const char *str) |
int | setType (int rtype) |
int | setColor (const char *col) |
int | setFont (const char *fnt) |
int | setSymbol (const char *symb) |
int | setMarker (int rmarker) |
int | setFormat (const char *str) |
int | setResrc (const char *res) |
int | parse (const char *str) |
int | print () |
int | getType () |
float | getScale () |
float | getDx () |
float | getDy () |
float | getHeight () |
float | getWidth () |
int | getHalign () |
int | getValign () |
int | getMarker () |
const char * | getForm () |
const char * | getColor () |
const char * | getSymbol () |
const char * | getFont () |
Friends | |
class | DatumPlot |
This class stores point data attributes.
|
inline |
Returns color value
|
inline |
Returns Dx offset to plot data
|
inline |
Returns Dy offset to plot data
|
inline |
Returns text font
|
inline |
Returns text formatting
|
inline |
Returns horizontal alignment
|
inline |
Returns height of plotted data
|
inline |
Returns marker type
|
inline |
Returns scale factor
|
inline |
Returns plot symbol
Referenced by WXP::DatumPlot::draw().
|
inline |
Returns plot type
|
inline |
Returns vertical alignment
|
inline |
Returns width of plotted data
int DatumAttr::parse | ( | const char * | str | ) |
Parses a string to set attributes
str | The attribute string |
References WXP::Datum::AVECT, WXP::Datum::CBARB, WXP::Datum::CLOUD, WXP::Datum::DATA, WXP::Datum::DBARB, WXP::Strings::getChar(), WXP::Strings::getFloat(), WXP::Strings::getInt(), WXP::Strings::getNum(), WXP::Strings::getString(), WXP::StrLib::iequal(), WXP::Strings::iequal(), WXP::StrLib::index(), WXP::Datum::LINE, WXP::Datum::MARK, WXP::Strings::set(), WXP::Datum::SYMB, WXP::Datum::TEXT, WXP::Datum::VALUE, WXP::Datum::VECT, WXP::Datum::WBARB, and WXP::Datum::WTRACK.
Referenced by WXP::DatumPlot::draw(), and WXP::DatumPlot::setAttr().