RAIDA  1.9.0
ILineStyleROOT.h
1 // -*- C++ -*-
2 #ifndef AIDA_ILINESTYLEROOT_H
3 #define AIDA_ILINESTYLEROOT_H 1
4 
5 #include <string>
6 #include <vector>
7 
8 #include <RAIDA/IBrushStyleROOT.h>
9 #include <AIDA/ILineStyle.h>
10 
11 namespace AIDA {
12 
20 class ILineStyleROOT : public IBrushStyleROOT, public ILineStyle {
21 
22 public:
24  virtual ~ILineStyleROOT() { /* nop */; }
25 
26  ILineStyleROOT() { /* nop */; }
27 
31  virtual std::vector<std::string> availableLineTypes() const ;
32 
36  virtual std::string lineType() const ;
37 
41  virtual int thickness() const ;
42 
47  virtual bool setLineType(const std::string & newLineType) ;
48 
54  virtual bool setThickness(int newThickness) ;
55 }; // class
56 } // namespace AIDA
57 #endif /* ifndef AIDA_ILINESTYLEROOT_H */
Style for all lines (axis lines, legend box outlines, etc.)
Definition: ILineStyleROOT.h:20
virtual std::vector< std::string > availableLineTypes() const
Get list of line types supported by this implementation.
Definition: ILineStyleROOT.cc:9
Style for all lines (axis lines, legend box outlines, etc.)
Definition: ILineStyle.h:28
virtual bool setThickness(int newThickness)
Set thickness (exact meaning is implementation-dependent, but &lt;0 means invisible).
Definition: ILineStyleROOT.cc:36
virtual int thickness() const
Get current line thickness.
Definition: ILineStyleROOT.cc:24
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaqu...
Definition: IBrushStyleROOT.h:21
virtual bool setLineType(const std::string &newLineType)
Set current line type e.g.
Definition: ILineStyleROOT.cc:30
virtual ~ILineStyleROOT()
Destructor.
Definition: ILineStyleROOT.h:24
virtual std::string lineType() const
Get line type currently in use.
Definition: ILineStyleROOT.cc:18