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

Go to the source code of this file.

Namespaces

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

Functions

template<int S_ = 8, int W_ = 1, class P_ = Geometry::Pointf, class F_ = SolidFill<>>
void Polyfill (Containers::Image &target, const Geometry::PointList< P_ > &p, F_ fill=SolidFill<>{Graphics::Color::Black})
 This function fills the given point list as a polygon. More...
 
template<int S_ = 8, int W_ = 1, class P_ = Geometry::Pointf, class F_ = SolidFill<>>
void Polyfill (Containers::Image &target, const std::vector< Geometry::PointList< P_ >> &p, F_ fill=SolidFill<>{Graphics::Color::Black})
 This function fills the given point list as a polygon. More...
 
template<int S_ = 8, class P_ , class F_ = SolidFill<>>
void Polyfill (Graphics::Bitmap &target, const Geometry::PointList< P_ > &points, F_ fill=SolidFill<>{Graphics::Color::Black})
 This function fills the given point list as a polygon. More...
 
template<int S_ = 8, int W_ = 1, class P_ , class F_ = SolidFill<>>
void Polyfill (Graphics::Bitmap &target, const std::vector< Geometry::PointList< P_ >> &points, F_ fill=SolidFill<>{Graphics::Color::Black})
 This function fills the given point list as a polygon. More...