Can render SVGs that have relative sizes, also clip SVGs that go out of bounds
This commit is contained in:
parent
91603e1fc1
commit
d91c7e987f
10 changed files with 23 additions and 12 deletions
|
|
@ -44,11 +44,12 @@ class ResourceManager {
|
|||
std::optional<ResourceData> get_resource(const ServerClientID& id) const;
|
||||
ClientPortionID get_max_id(ServerPortionID serverID) const;
|
||||
const std::unordered_map<ServerClientID, ResourceData>& resource_list();
|
||||
|
||||
World& world;
|
||||
private:
|
||||
std::unordered_map<ServerClientID, ResourceData> resources;
|
||||
std::unordered_map<ServerClientID, std::shared_ptr<ResourceDisplay>> displays;
|
||||
|
||||
static std::array<const SkCodecs::Decoder, 5> decoders;
|
||||
World& world;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue