• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pen size scaling
#8
Looks like I confused myself. At one point in time, the tool sizes were going to be relative to the page size. When I thought about it for a while, I realized it would be a pretty poor/unintuitive experience to have a pen at size 4, for example, but that pen would appear to be a different size on each different PDF it was used. So I decided it was better to have the tool sizes be based on the screen of the tablet (so a pen size of 4 is four pixels thick on the screen regardless of the file), but the way I do that is by taking the amount the PDF page is scaled up, and diving four by that amount, so that I'm saving the size in terms of the raw PDF page. 

The real issue here with zooming is exactly what you described - if you've zoomed in 50% outside the annotations editor, and the PDF page is scaled up an additional 50%, you want the tool sizes to be scaled up 50% too so that it matches. So your thought process was right on the money. I'm going to see what it will take to scale all tool sizes not only by the amount that was zoomed in while in the annotations mode, but also any amount that was scaled while in the normal song view. Hopefully I can do this without causing any bugs, but it should be pretty easy to test.

Thanks,
Mike
Reply


Messages In This Thread
Pen size scaling - by palosanto - 01-13-2021, 12:33 PM
RE: Pen size scaling - by Zubersoft - 01-13-2021, 06:19 PM
RE: Pen size scaling - by palosanto - 01-14-2021, 02:15 AM
RE: Pen size scaling - by Zubersoft - 01-15-2021, 11:00 AM
RE: Pen size scaling - by palosanto - 01-15-2021, 11:30 AM
RE: Pen size scaling - by Zubersoft - 01-15-2021, 11:34 AM
RE: Pen size scaling - by palosanto - 01-15-2021, 11:51 AM
RE: Pen size scaling - by Zubersoft - 01-15-2021, 11:53 AM
RE: Pen size scaling - by palosanto - 01-15-2021, 12:47 PM
RE: Pen size scaling - by Zubersoft - 01-15-2021, 04:34 PM
RE: Pen size scaling - by palosanto - 01-15-2021, 04:55 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2022 MyBB Group.