mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:47:45 +00:00
PixelPaint: Use Mask internally in Selection
While the external API has not changed, this will allow us to have non-rectangular selections in the future.
This commit is contained in:
parent
0828c75e57
commit
d922e35579
3 changed files with 80 additions and 21 deletions
|
@ -42,6 +42,7 @@ public:
|
|||
|
||||
Layer* layer_at_editor_position(Gfx::IntPoint const&);
|
||||
|
||||
float scale() const { return m_scale; }
|
||||
void scale_centered_on_position(Gfx::IntPoint const&, float);
|
||||
void reset_scale_and_position();
|
||||
void scale_by(float);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue