mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
feat: initial implementation for to_card_image() function (closes #33)
This commit is contained in:
@@ -346,6 +346,19 @@ public:
|
||||
bool operator == (const GeneratedImage& that) const override;
|
||||
private:
|
||||
String name;
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : Arbitrary
|
||||
|
||||
class ArbitraryImage : public GeneratedImage {
|
||||
public:
|
||||
inline ArbitraryImage(const Image image)
|
||||
: image(image)
|
||||
{}
|
||||
Image generate(const Options& opt) const override;
|
||||
bool operator == (const GeneratedImage& that) const override;
|
||||
private:
|
||||
Image image;
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : SymbolToImage
|
||||
|
||||
Reference in New Issue
Block a user