Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
LinePainter.hpp
1 // Copyright © 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_GRAPHICS_LINEPAINTER_HPP_INCLUDED
5 #define FIRE_GRAPHICS_LINEPAINTER_HPP_INCLUDED
6 
7 #include <exception>
8 #include <string>
9 
10 #include "fire/graphics/Painter.hpp"
11 
18 namespace fire {
25 namespace graphics {
33  public:
40  static std::string SOLID;
47  static std::string DASH;
54  static std::string DOT;
61  static std::string DASH_DOT;
68  static std::string DASH_DOT_DOT;
75  static std::string CUSTOM_DASH;
82  static std::string JOIN_BEVEL;
89  static std::string JOIN_ROUND;
96  static std::string JOIN_MITER;
103  std::string _color;
110  unsigned int _width;
117  unsigned int _style;
134  void draw(const graphics::IGraphicContext& grph, const gear::geom::Geometry& geom);
156  void draw(const graphics::IGraphicContext& grph, const gear::geom::Geometry& geom, const source::vector::DataRow& data);
163  LinePainter();
170  ~LinePainter();
182  LinePainter(const LinePainter& source);
199  LinePainter& operator=(const LinePainter& source);
200 };
201 } // namespace graphics
202 } // namespace fire
203 
204 #endif
Definition: IGraphicContext.hpp:15
unsigned int _width
Definition: LinePainter.hpp:110
static std::string JOIN_BEVEL
Definition: LinePainter.hpp:82
unsigned int _style
Definition: LinePainter.hpp:117
static std::string DASH_DOT_DOT
Definition: LinePainter.hpp:68
static std::string DASH_DOT
Definition: LinePainter.hpp:61
static std::string DOT
Definition: LinePainter.hpp:54
static std::string SOLID
Definition: LinePainter.hpp:40
LinePainter & operator=(const LinePainter &source)
Definition: Geometry.hpp:69
Definition: LinePainter.hpp:32
static std::string DASH
Definition: LinePainter.hpp:47
static std::string CUSTOM_DASH
Definition: LinePainter.hpp:75
Definition: Painter.hpp:33
std::string _color
Definition: LinePainter.hpp:103
void draw(const graphics::IGraphicContext &grph, const gear::geom::Geometry &geom)
static std::string JOIN_MITER
Definition: LinePainter.hpp:96
Oggetto per l'accesso alle colonne di una riga di dati.
Definition: DataRow.hpp:32
static std::string JOIN_ROUND
Definition: LinePainter.hpp:89