libpgplotxx.a (C++ interface to PGPLOT)

◆ apply()

void pgplot::Tlinestyle::apply ( basic_device dev) const
private

apply to basic device class

class Tlinestyle

Definition at line 70 of file xpgplotxx.cc.

References Fci, Fhls, Fls, Flw, Frgb, Mci, Mcol, Mflags, Mls, Mlw, pgplot::basic_device::sci(), pgplot::basic_device::scr(), pgplot::basic_device::shls(), pgplot::basic_device::sls(), and pgplot::basic_device::slw().

Referenced by operator()().

71  {
72  if (Mflags&Fls) dev.sls(Mls);
73  if (Mflags&Flw) dev.slw(Mlw);
74  if (Mflags&Fci)
75  {
76  dev.sci(Mci);
77  if (Mflags&Frgb) dev.scr(Mci, Mcol);
78  if (Mflags&Fhls) dev.shls(Mci, Mcol);
79  }
80  }
int Mlw
line width
Definition: xpgplotxx.h:127
int Mls
line style
Definition: xpgplotxx.h:123
int Mci
color index
Definition: xpgplotxx.h:125
int Mflags
flags
Definition: xpgplotxx.h:129
Tcol Mcol
rgb or hls colour setting
Definition: xpgplotxx.h:131
Here is the call graph for this function:
Here is the caller graph for this function: