PointList.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <etk/types.hpp>
9 #include <etk/math/Vector2D.hpp>
10 #include <etk/math/Matrix2.hpp>
11 #include <esvg/render/Element.hpp>
12 #include <esvg/render/Point.hpp>
13 
14 namespace esvg {
15  namespace render {
16  class PointList {
17  public:
18  std::vector<std::vector<esvg::render::Point>> m_data;
19  public:
20  PointList();
21  void addList(std::vector<esvg::render::Point>& _list);
22  void display();
23  void applyMatrix(const mat2& _transformationMatrix);
24  std::pair<vec2, vec2> getViewPort();
25  };
26  }
27 }
Main esvg namespace.
Definition: Base.hpp:24
Definition: PointList.hpp:16