• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pen size scaling
#2
The problem you are describing would only occur in the e-ink version while using stylus mode. It is not present on a normal Android device. This problem is unique to how the drawing works in the e-ink version because my app isn't the one drawing those lines - it's a special mode where anything you touch with the stylus just flips the pixels to black. The one thing I have control over is the thickness of the strokes. Having said that, my code does scale the pen size based on the current zoom level. I will run some tests tomorrow, but as you zoom in, the thickness of the line should be increasing a proper amount to provide consistency when zoomed out and in. 

In general, I don't think it makes any sense to increase the pen size as you zoom in. That would provide an unintuitive experience, because the zoom level would be applied on top of the pen size increasing, which is multiplicative, so the size would grow significantly more than expected, and it would be hard for users to figure out how much the zoom would modify the pen size. Also, the size should appear the same relative to the page whether you are zoomed in or not. As you zoom in, the annotations already increase in size, and as you zoom out, they shrink in size. It's not relative to the screen - it's relative to the page. Perhaps I'm not really understanding the problem you are running into. A size 4 pen should always look the same on a page regardless of the zoom level when you create it.

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



Users browsing this thread:
1 Guest(s)


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