Gorgon Game Engine
Line.h File Reference
Include dependency graph for Line.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StrokeSettings
 

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::CGI
 

Functions

template<int S_ = 8, class P_ = Geometry::Pointf, class F_ = SolidFill<>>
void DrawLines (Containers::Image &target, const Geometry::PointList< P_ > &p, StrokeSettings settings=1.0, F_ stroke=SolidFill<>{Graphics::Color::Black})
 Draw a point list as a list of lines. More...
 
template<int S_ = 8, class P_ = Geometry::Pointf, class F_ = SolidFill<>>
void DrawLines (Containers::Image &target, const std::vector< Geometry::PointList< P_ >> &pnts, StrokeSettings settings=1.0, F_ stroke=SolidFill<>{Graphics::Color::Black})
 Draw a point list as a list of lines. More...
 
template<int S_ = 8, class P_ = Geometry::Pointf, class F_ = SolidFill<>>
void DrawLines (Graphics::Bitmap &target, const Geometry::PointList< P_ > &p, StrokeSettings settings=1.0, F_ stroke=SolidFill<>{Graphics::Color::Black})
 Draw a point list as a list of lines. More...
 
template<int S_ = 8, class P_ = Geometry::Pointf, class F_ = SolidFill<>>
void DrawLines (Graphics::Bitmap &target, const std::vector< Geometry::PointList< P_ >> &pnts, StrokeSettings settings=1.0, F_ stroke=SolidFill<>{Graphics::Color::Black})
 Draw a point list as a list of lines. More...
 
template<int S_ = 8, class P_ = Geometry::Pointf>
std::vector< Geometry::PointList< P_ > > LinesToPolygons (const Geometry::PointList< P_ > &p, StrokeSettings settings=1.0)
 Returns the polygon to draw a list of lines. More...