2017-12-25 23:49:48 +00:00
|
|
|
#ifndef PAINT_HPP_INCLUDED
|
|
|
|
#define PAINT_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include "Types/Convex.hpp"
|
2018-03-09 03:34:50 +00:00
|
|
|
#include "Types/Tile.hpp"
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
/** @addtogroup Core
|
|
|
|
* @{ */
|
|
|
|
class Paint
|
|
|
|
{
|
|
|
|
public:
|
2018-04-29 12:11:44 +00:00
|
|
|
static std::uint32_t* GetPixels();
|
2017-12-25 23:49:48 +00:00
|
|
|
static void Clear();
|
|
|
|
static void DrawPoint(const Point& P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
|
|
|
static void DrawPoints(const std::vector<Point>& Points, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
|
|
|
static void DrawLine(const Point& A, const Point& B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
|
|
|
static void DrawLines(const std::vector<Point>& A, const std::vector<Point>& B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
|
|
|
static void DrawBox(const Box& B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
|
|
|
static void DrawSquare(const Box& B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
2018-03-09 03:34:50 +00:00
|
|
|
static void DrawConvex(const Convex& C, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
|
|
|
static void DrawTile(const Tile& T, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
2018-03-11 05:05:49 +00:00
|
|
|
static void DrawModel(const std::vector<Point>& Model, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
2017-12-25 23:49:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#endif // PAINT_HPP_INCLUDED
|