serenity icon indicating copy to clipboard operation
serenity copied to clipboard

PixelPaint: Allow resizing images and layers.

Open jpgleeson opened this issue 3 years ago • 1 comments

Fixes #11862 This PR adds a None ScalingMode to LibGfx and incorporates that into PixelPaint to allow for resizing of the canvas without scaling the image. The previous behaviour was to always rescale the canvas when resizing an image. This adds a radio button to the resize image dialog, which blits the existing canvas at it's existing size to the top left of the new, resized canvas.

jpgleeson avatar Oct 10 '22 20:10 jpgleeson

Hello!

One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why. Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

BuggieBot avatar Oct 10 '22 20:10 BuggieBot

Oh also, please click the "Resolve conversation" button on any review comments that you have dealt with. It makes it easier for maintainers to spot that they should review the PR again. :^)

AtkinsSJ avatar Nov 01 '22 14:11 AtkinsSJ