#include "OSDLPixel.h"
#include "Ceylan.h"
#include <string>
#include <list>
#include "SDL.h"
Go to the source code of this file.
Classes | |
class | OSDL::Video::TwoDimensional::Polygon |
Polygons are defined as line segments passing through a suite of 2D points and enclosing a surface, since the last vector points towards the first. More... | |
class | OSDL::Video::TwoDimensional::PolygonSet |
Polygon sets are collections of polygons defined in the same referential. More... | |
Namespaces | |
namespace | OSDL |
Definition of the main OSDL common non-specialized types. | |
namespace | OSDL::Video |
namespace | OSDL::Video::TwoDimensional |
Typedefs | |
typedef std::list< Point2D * > | OSDL::Video::TwoDimensional::listPoint2D |
Definition so that readability increases. | |
Functions | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawPie (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length radius, Ceylan::Maths::AngleInDegrees angleStart, Ceylan::Maths::AngleInDegrees angleStop, Pixels::ColorElement red, Pixels::ColorElement green, Pixels::ColorElement blue, Pixels::ColorElement alpha=Pixels::AlphaOpaque) |
Some polygone-based shapes:
| |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawPie (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length radius, Ceylan::Maths::AngleInDegrees angleStart, Ceylan::Maths::AngleInDegrees angleStop, Pixels::ColorDefinition colorDef) |
Draws a polygon-based filled pie whose center is (xCenter,yCenter) of specified radius, with specified RGBA color, on specified surface, starting from angleStart, stopping to angleStop. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawTriangle (Surface &targetSurface, Coordinate x1, Coordinate y1, Coordinate x2, Coordinate y2, Coordinate x3, Coordinate y3, Pixels::ColorElement red, Pixels::ColorElement green, Pixels::ColorElement blue, Pixels::ColorElement alpha=Pixels::AlphaOpaque, bool filled=true) |
Draws a triangle defined by specified three points, with specified RGBA color, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawTriangle (Surface &targetSurface, Coordinate x1, Coordinate y1, Coordinate x2, Coordinate y2, Coordinate x3, Coordinate y3, Pixels::ColorDefinition colorDef, bool filled=true) |
Draws a triangle defined by specified three points, with specified RGBA color, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawTriangle (Surface &targetSurface, const Point2D &p1, const Point2D &p2, const Point2D &p3, Pixels::ColorElement red, Pixels::ColorElement green, Pixels::ColorElement blue, Pixels::ColorElement alpha=Pixels::AlphaOpaque, bool filled=true) |
Draws a triangle defined by specified three points, with specified RGBA color, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawTriangle (Surface &targetSurface, const Point2D &p1, const Point2D &p2, const Point2D &p3, Pixels::ColorDefinition colorDef, bool filled=true) |
Draws a triangle defined by specified three points, with specified RGBA color, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawPolygon (Surface &targetSurface, const listPoint2D &summits, Coordinate x, Coordinate y, Pixels::ColorElement red, Pixels::ColorElement green, Pixels::ColorElement blue, Pixels::ColorElement alpha=Pixels::AlphaOpaque, bool filled=true) |
Draws a polygon defined by specified list of points, with specified RGBA color, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawPolygon (Surface &targetSurface, const listPoint2D &summits, Coordinate x, Coordinate y, Pixels::ColorDefinition colorDef, bool filled=true) |
Draws a polygon defined by specified list of points, with specified RGBA color, on specified surface, at specified location. |