mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:37:35 +00:00
PixelPaint: Rename Layer::resize() to Layer::scale()
This name more accurately describes the transform being performed.
This commit is contained in:
parent
690f3ae43b
commit
bdaad815a1
4 changed files with 13 additions and 13 deletions
|
@ -67,7 +67,7 @@ public:
|
|||
ErrorOr<void> flip(Gfx::Orientation orientation, NotifyClients notify_clients = NotifyClients::Yes);
|
||||
ErrorOr<void> rotate(Gfx::RotationDirection direction, NotifyClients notify_clients = NotifyClients::Yes);
|
||||
ErrorOr<void> crop(Gfx::IntRect const& rect, NotifyClients notify_clients = NotifyClients::Yes);
|
||||
ErrorOr<void> resize(Gfx::IntRect const& new_rect, Gfx::Painter::ScalingMode scaling_mode, NotifyClients notify_clients = NotifyClients::Yes);
|
||||
ErrorOr<void> scale(Gfx::IntRect const& new_rect, Gfx::Painter::ScalingMode scaling_mode, NotifyClients notify_clients = NotifyClients::Yes);
|
||||
|
||||
Optional<Gfx::IntRect> nonempty_content_bounding_rect() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue