Re: [Tuxpaint-devel] Xor of stamps too fine in high resolution screens
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2023-03-22 06:26:46
|
On Fri, Mar 17, 2023 at 07:30:46AM -0400, Albert Cahalan wrote: > On 3/17/23, Bill Kendrick <nb...@so...> wrote: > > On Fri, Mar 17, 2023 at 12:41:19AM +0100, Pere Pujal i Carabantes wrote: > > >> Pixels are too tiny that make hard to see the Xor, > >> of course it is there and with a little of attention > >> one sees it but it is hard to see. > >> > >> I wonder if we could make the Xor thicker so it is > >> easy to see. > > Thicker in which way? The dots could be thicker, > or the outline could be thicker, or both. <snip> Thanks for the description of how it works. (Funny to learn only that "8" was ever used... room for some simplification?) I went with simply making the outline thicker, and I totally cheated, but I think it looks fine and will hopefully be helpful on devices with high dot pitch (like my phone). When it decides it's worth XOR'ing a pixel, it now also does this: * If it's _NOT_ already going to XOR the adjacent pixel to the right, XOR it too * Ditto for the adjacent pixel below * Ditto for the adjacent pixel below & to the right So basically -- ASCII art coming -- if before we were doing this: #-#-#- -....# #....- -....# #-#-#- (where "#" is an XOR'd pixel, and "-" would be a XOR'd pixel, except for the stiple pattern telling us to skip it) We will now do this: #-#-#-# -#-#-#- #-...-# -#...#- #-#-#-# -#-#-#- It tries to turn what was a point before into a square (but still stipled). It looks fine to me on my laptop and my external monitors. Both are 1920x1080. The external is a 23", so about 96ppi. The laptop is 14", so almost 160ppi. Wikipedia tells me my phone (a plain (non pro) Pixel 7) has a PPI of 416. Wow, no wonder I can't see anything on it! Pere & others, how does it look to you with this change? -bill! |