01-13-2021, 06:19 PM
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
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