libpgplotxx.a (C++ interface to PGPLOT)
|
line style attributes More...
#include <xpgplotxx.h>
Public Types | |
enum | Eflags { Fnone =0, Fls =1, Flw =2, Fci =4, Frgb =8, Fhls =16 } |
flags indicating the setting used More... | |
Public Member Functions | |
Tlinestyle () | |
default constructor More... | |
Tlinestyle (const int &lw) | |
linewidth constructor More... | |
Tlinestyle (const int &lw, const int &ls) | |
linewidth and linestyle constructor More... | |
Tlinestyle (const int &lw, const int &ls, const int &ci) | |
linewidth and linestyle and color index constructor More... | |
bool | operator!= (const Tlinestyle &ls) const |
compare More... | |
template<class T > | |
T & | operator() (T &dev) const |
apply linestyle to device context More... | |
style setting | |
Tlinestyle & | setlw (const int &lw) |
set linewidth More... | |
Tlinestyle & | setls (const int &ls) |
set linestyle More... | |
Tlinestyle & | setci (const int &ci) |
set color index More... | |
Tlinestyle & | sethls (const Tcol &hls) |
set color representation with hls values More... | |
Tlinestyle & | setrgb (const Tcol &rgb) |
set color representation with rgb values More... | |
Tlinestyle & | clw () |
discard line width setting More... | |
Tlinestyle & | cls () |
discard line style setting More... | |
Tlinestyle & | cci () |
discard colour index setting More... | |
Tlinestyle & | ccr () |
discard colour representation setting More... | |
Private Member Functions | |
void | apply (basic_device &dev) const |
apply to basic device class More... | |
Private Attributes | |
int | Mls |
line style More... | |
int | Mci |
color index More... | |
int | Mlw |
line width More... | |
int | Mflags |
flags More... | |
Tcol | Mcol |
rgb or hls colour setting More... | |
line style attributes
This class may store and apply line style plotting attributes
Definition at line 68 of file xpgplotxx.h.