1
Fork 0
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:
Andrew Smith 2022-03-08 06:00:04 -06:00 committed by Andreas Kling
parent abaecb878b
commit 02399d4775
11 changed files with 302 additions and 0 deletions

View file

@ -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;