Release 0.57
parent
e2bc4db28b
commit
36bbae60c7
|
@ -27,6 +27,7 @@ namespace Internal
|
|||
std::int32_t GetScaleX() const;
|
||||
std::int32_t GetScaleY() const;
|
||||
std::int32_t GetSettingID() const;
|
||||
std::int32_t GetSize() const;
|
||||
std::int32_t GetVarbitID() const;
|
||||
bool GetVisible() const;
|
||||
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
#include "Types/Convex.hpp"
|
||||
#include "Types/Tile.hpp"
|
||||
|
||||
struct Pixel
|
||||
{
|
||||
std::uint8_t Red;
|
||||
std::uint8_t Green;
|
||||
std::uint8_t Blue;
|
||||
std::uint8_t Alpha;
|
||||
};
|
||||
|
||||
/** @addtogroup Core
|
||||
* @{ */
|
||||
class Paint
|
||||
|
@ -12,6 +20,7 @@ class Paint
|
|||
public:
|
||||
static std::uint32_t* GetPixels();
|
||||
static void Clear();
|
||||
static void DrawDot(const Point& P, double Radius, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
||||
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);
|
||||
|
@ -22,6 +31,7 @@ class Paint
|
|||
static void DrawTile(const Tile& T, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
||||
static void DrawModel(const std::vector<Point>& Model, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
||||
static void DrawString(const std::string& String, const Point& P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
||||
static void DrawPixels(const std::vector<Pixel> Pixels, std::uint32_t Width, std::uint32_t Height, const Point& P);
|
||||
};
|
||||
|
||||
/** @} */
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue