#include "OSDLPixel.h"
#include "SDL.h"
Go to the source code of this file.
Namespaces | |
namespace | OSDL |
Definition of the main OSDL common non-specialized types. | |
namespace | OSDL::Video |
namespace | OSDL::Video::TwoDimensional |
Functions | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawCircle (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length radius, Pixels::ColorElement red, Pixels::ColorElement green, Pixels::ColorElement blue, Pixels::ColorElement alpha=Pixels::AlphaOpaque, bool filled=true, bool blended=true) |
Conics section includes support for:
| |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawCircle (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length radius, Pixels::ColorDefinition colorDef, bool filled=true, bool blended=true) |
Draws a circle whose center is (xCenter,yCenter) of specified radius, with specified color definition, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawDiscWithEdge (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length outerRadius, Length innerRadius, Pixels::ColorDefinition ringColorDef=Pixels::Blue, Pixels::ColorDefinition discColorDef=Pixels::White, bool blended=true) |
Draws a disc whose center is (xCenter,yCenter), of specified radius (totalRadius), filled with specified color discColorDef, with a ring in it, on its border, i.e. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawEllipse (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length horizontalRadius, Length verticalRadius, Pixels::ColorElement red, Pixels::ColorElement green, Pixels::ColorElement blue, Pixels::ColorElement alpha=Pixels::AlphaOpaque, bool filled=true) |
Draws an ellipse whose center is (xCenter,yCenter), with specified horizontal and vertical radius, with specified RGBA color, on specified surface. | |
OSDL_DLL bool | OSDL::Video::TwoDimensional::drawEllipse (Surface &targetSurface, Coordinate xCenter, Coordinate yCenter, Length horizontalRadius, Length verticalRadius, Pixels::ColorDefinition colorDef, bool filled=true) |
Draws an ellipse whose center is (xCenter,yCenter), with specified horizontal and vertical radius, with specified color definition, on specified surface. |