stripped down all pixwerx code to a minimal istic subset

This commit is contained in:
Hartmut Seichter 2023-06-30 20:41:02 +02:00
commit 612677c52d
398 changed files with 164811 additions and 0 deletions

29
src/lib/renderer.hpp Normal file
View file

@ -0,0 +1,29 @@
#ifndef PW_VISUAL_MESH_RENDERER_HPP
#define PW_VISUAL_MESH_RENDERER_HPP
#include <map>
#include <memory>
namespace paradiso {
struct Sprite;
/**
* @brief a Renderer2D for sprites
*/
struct Renderer final {
Renderer();
~Renderer();
Renderer(const Renderer&) = delete;
bool draw(const Sprite& m);
bool ready() const;
private:
struct impl;
std::unique_ptr<impl> impl_;
};
} // namespace paradiso
#endif