mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
PixelPaint: Allow layer to "scale" location when resizing
This commit is contained in:
parent
02399d4775
commit
bccf0a9346
3 changed files with 37 additions and 13 deletions
|
@ -58,6 +58,8 @@ public:
|
|||
void rotate(Gfx::RotationDirection direction);
|
||||
void crop(Gfx::IntRect const& rect);
|
||||
void resize(Gfx::IntSize const& new_size, Gfx::Painter::ScalingMode scaling_mode);
|
||||
void resize(Gfx::IntRect const& new_rect, Gfx::Painter::ScalingMode scaling_mode);
|
||||
void resize(Gfx::IntSize const& new_size, Gfx::IntPoint const& new_location, Gfx::Painter::ScalingMode scaling_mode);
|
||||
|
||||
ErrorOr<void> try_set_bitmaps(NonnullRefPtr<Gfx::Bitmap> content, RefPtr<Gfx::Bitmap> mask);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue