Add basic svg image support
This commit is contained in:
parent
81616b74a8
commit
a9ac98cd3d
6 changed files with 4630 additions and 10 deletions
|
|
@ -20,5 +20,5 @@ public:
|
|||
virtual void* GetData() const = 0;
|
||||
|
||||
static std::shared_ptr<Image> Create(int width, int height, ImageFormat format, const void* data);
|
||||
static std::shared_ptr<Image> LoadResource(const std::string& resourcename);
|
||||
static std::shared_ptr<Image> LoadResource(const std::string& resourcename, double dpiscale = 1.0);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue