scaling
This commit is contained in:
parent
dcbe05a75d
commit
c84504331b
12 changed files with 867 additions and 17 deletions
|
|
@ -31,8 +31,9 @@ export namespace Crafter {
|
|||
std::int_fast32_t offsetX;
|
||||
std::int_fast32_t offsetY;
|
||||
std::int_fast32_t z;
|
||||
bool maintainAspectRatio;
|
||||
Anchor() = default;
|
||||
Anchor(std::int_fast32_t x, std::int_fast32_t y, std::uint_fast32_t width, std::uint_fast32_t height, std::int_fast32_t offsetX, std::int_fast32_t offsetY, std::int_fast32_t z);
|
||||
Anchor(std::int_fast32_t x, std::int_fast32_t y, std::uint_fast32_t width, std::uint_fast32_t height, std::int_fast32_t offsetX, std::int_fast32_t offsetY, std::int_fast32_t z, bool maintainAspectRatio = false);
|
||||
};
|
||||
class Transform {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue