mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
PixelPaint: Ensure the selection is always within image bounds
This commit is contained in:
parent
fc137a7827
commit
f132751fae
8 changed files with 97 additions and 55 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
virtual Gfx::IntPoint point_position_to_preferred_cell(Gfx::FloatPoint position) const override;
|
||||
|
||||
private:
|
||||
virtual void flood_polygon_selection(Gfx::Bitmap&, Gfx::IntPoint);
|
||||
virtual void flood_polygon_selection(Gfx::Bitmap&, Gfx::IntPoint polygon_delta);
|
||||
virtual void process_polygon();
|
||||
virtual StringView tool_name() const override { return "Polygonal Select Tool"sv; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue