text changes
This commit is contained in:
parent
627ef13727
commit
d5ee272290
6 changed files with 135 additions and 54 deletions
|
|
@ -23,7 +23,7 @@ import :RenderingElement;
|
|||
import :Types;
|
||||
|
||||
export namespace Crafter {
|
||||
class ImageElement : public RenderingElement {
|
||||
class ImageElement : public RenderingElementScaling {
|
||||
public:
|
||||
ImageElement();
|
||||
ImageElement(const std::string_view imagePath, std::int_fast32_t anchorX = FractionalToMapped(0.5), std::int_fast32_t anchorY = FractionalToMapped(0.5), std::uint_fast32_t relativeWidth = FractionalToMapped(1), std::uint_fast32_t relativeHeight = FractionalToMapped(1), std::int_fast32_t anchorOffsetX = FractionalToMapped(0.5), std::int_fast32_t anchorOffsetY = FractionalToMapped(0.5), std::int_fast32_t z = 0, bool ignoreScaling = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue