trase
Figure.hpp File Reference
#include <array>
#include <memory>
#include <unordered_map>
#include "frontend/Axis.hpp"
#include "frontend/Drawable.hpp"
#include "frontend/Figure.tcc"
Include dependency graph for Figure.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  trase::Figure
 The primary Drawable for each figure. More...
 

Functions

std::shared_ptr< Figure > trase::figure (std::array< float, 2 > pixels={ {800.0, 600.0}})
 create a new Figure More...
 

Function Documentation

◆ figure()

std::shared_ptr<Figure> trase::figure ( std::array< float, 2 >  pixels = { {800.0, 600.0}})
inline

create a new Figure

Parameters
pixels(optional) the number of pixels along the {width, height} of the figure