libpgplotxx.a (C++ interface to PGPLOT)
pgplot::Tlinestyle Class Reference

line style attributes More...

#include <xpgplotxx.h>

Collaboration diagram for pgplot::Tlinestyle:

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
Tlinestylesetlw (const int &lw)
 set linewidth More...
 
Tlinestylesetls (const int &ls)
 set linestyle More...
 
Tlinestylesetci (const int &ci)
 set color index More...
 
Tlinestylesethls (const Tcol &hls)
 set color representation with hls values More...
 
Tlinestylesetrgb (const Tcol &rgb)
 set color representation with rgb values More...
 
Tlinestyleclw ()
 discard line width setting More...
 
Tlinestylecls ()
 discard line style setting More...
 
Tlinestylecci ()
 discard colour index setting More...
 
Tlinestyleccr ()
 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...
 

Detailed Description

line style attributes

This class may store and apply line style plotting attributes

Note
The class supports colour setting by rgb or hls values. These settings will only take effect, if a colour index was explicitely selected.

Definition at line 68 of file xpgplotxx.h.


The documentation for this class was generated from the following files: