mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:57:35 +00:00
PixelPaint: Add Image>Resize Image... dialog. (Front end)
This commit is contained in:
parent
abaecb878b
commit
02399d4775
11 changed files with 302 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
#include <LibGUI/Forward.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Forward.h>
|
||||
#include <LibGfx/Painter.h>
|
||||
#include <LibGfx/Rect.h>
|
||||
#include <LibGfx/Size.h>
|
||||
|
||||
|
@ -96,6 +97,7 @@ public:
|
|||
void flip(Gfx::Orientation orientation);
|
||||
void rotate(Gfx::RotationDirection direction);
|
||||
void crop(Gfx::IntRect const& rect);
|
||||
void resize(Gfx::IntSize const& new_size, Gfx::Painter::ScalingMode scaling_mode);
|
||||
|
||||
Color color_at(Gfx::IntPoint const& point) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue