Zoom tool with proper scaling #33

Closed
aseprite-bot opened this Issue Aug 20, 2014 · 11 comments

Comments

Projects
None yet
2 participants

From skile...@gmail.com on July 24, 2011 17:54:10

What do you need to do? be able to zoom without a scroll wheel How would you like to do it? magnification tool

Original issue: http://code.google.com/p/aseprite/issues/detail?id=33

aseprite-bot added this to the v1.1 milestone Aug 20, 2014

From davidcapello on July 24, 2011 14:13:59

Hi. Currently you can zoom using the 1,2,3,4,5,6 keys too.
Anyway the zoom tool was planned for 0.8.2 but didn't make it.
I'll try to add it to 0.9.
Thanks!

Status: Accepted
Labels: Milestone-0.9

From matt.hug...@gmail.com on April 03, 2012 13:20:53

This is probably implied with this tool, but I would like to have the ability to fine tune the zoom amount.

I am working on a project with a very low resolution and the zoom amounts jump from too small to too large in a single wheel scroll.

From davidcapello on November 22, 2013 02:59:48

Add the zoom tool that can be used to zoom in/out with mouse clicks/selections/boxes. Also it should be capable to zoom out bigger images to see it completely in the screen.

I'll take about this feature. The way the editor handles zoom (and conversions between screen <-> editor) must be changed.

Summary: Zoom tool with proper scaling (was: New Feature: Zoom tool)
Owner: davidcapello

From davidcapello on November 22, 2013 03:00:02

Issue #170 has been merged into this issue.

From davidcapello on November 22, 2013 03:00:49

Issue #287 has been merged into this issue.

From davidcapello on December 27, 2013 17:18:08

Issue #304 has been merged into this issue.

From davidcapello on December 27, 2013 17:18:55

Issue #255 has been merged into this issue.

From davidcapello on April 09, 2014 18:06:56

Labels: -Milestone-0.9 Milestone-1.0

From davidcapello on April 09, 2014 18:09:29

Labels: -Milestone-1.0 Milestone-1.1

From davidcapello on April 19, 2014 16:05:56

Issue #387 has been merged into this issue.

From davidcapello on April 19, 2014 16:10:06

The zoom tool is done (commit: 4c706af ).

Anyway the proper scaling is still missing (it needs a big refactor of the code, for the next release).

@dacap dacap added high priority and removed medium priority labels Aug 29, 2014

dacap self-assigned this Nov 21, 2014

@dacap dacap added a commit that referenced this issue Dec 3, 2014

@dacap dacap Add zoom out (related to issue #33)
Before the zoom was handle as a bits shift (scaled = value << zoom),
now the zoom is a fraction (scaled = value * zoom.num / zoom.den).

Changes:
* Add Zoom class to apply/remove zoom factor
* Split merge_zoomed_image template function into
  merge_zoomed_image_scale_down and merge_zoomed_image_scale_up
  to handle the special case where zoom.num/zoom.den < 1.0
4fc28d5

dacap closed this Apr 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment