DavidTkocz Posted April 3, 2015 Share Posted April 3, 2015 Hi guys! I've found a problem with my stroke (see attachment). I was trying to find correct one width long time, but still it is not a sharp 1px stroke... Do you have same problem? Cheers, David Quote Pay £50 per month for your new handcrafted website based on Wordpress! Link to comment Share on other sites More sharing options...
Staff MEB Posted April 3, 2015 Staff Share Posted April 3, 2015 Hi DavidTkocz You must have to enable Force Pixel Alignment, then set the stroke aligment to Align Stroke to Inside or Align Stroke to Outside from the Stroke width button on the context toolbar to make it fit to the pixel grid. Let me know if you still have problems. Quote A Guide to Learning Affinity Software | Affinity Quick Reference | Call for Camera Images Link to comment Share on other sites More sharing options...
ronnyb Posted April 3, 2015 Share Posted April 3, 2015 Miguel, I ran into this same problem while making the Flip X + Y cursor demo in another post, but I was not able to fix the issue because I was using a 1 pixel wide line, not a box, so when I tried to use the Align Inside or Align Outside options, AD just screwed up my stroke dashes... In either case, the one pixel black line renders as a 2 pixel-wide gray line :/ Below I attached some screen grabs of before and after. Do you know what's going on and how to get a 1 pixel wide black line to render properly? Thanks for your help Miguel! Align Center: Align Inside/Outside: Non-retina pixel mode: Quote 2021 16” Macbook Pro w/ M1 Max 10c cpu /24c gpu, 32 GB RAM, 1TB SSD, Ventura 13.6 2018 11" iPad Pro w/ A12X cpu/gpu, 256 GB, iPadOS 17 Link to comment Share on other sites More sharing options...
Staff MEB Posted April 3, 2015 Staff Share Posted April 3, 2015 For lines, you need to have the snapping working on half-pixels (not whole pixels). To do it, go to View ▹ Show Grid and enable Snap to Grid. Make sure you have Force Pixel Alignment disabled. You should now be able to edit objects and nodes positions in half pixels. The more you zoom in the more precision you get from the snapping when you set the grid to Use automatic grid in View ▹ Grid and Axis Manager... dialog. Check this video. Note that i have Pixel View enabled in the video so we can see the blurriness when the path (line) is placed on whole pixels. ronnyb 1 Quote A Guide to Learning Affinity Software | Affinity Quick Reference | Call for Camera Images Link to comment Share on other sites More sharing options...
ronnyb Posted April 7, 2015 Share Posted April 7, 2015 That worked perfectly Miguel, thanks! For lines, you need to have the snapping working on half-pixels (not whole pixels). To do it, go to View ▹ Show Grid and enable Snap to Grid. Make sure you have Force Pixel Alignment disabled. You should now be able to edit objects and nodes positions in half pixels. The more you zoom in the more precision you get from the snapping when you set the grid to Use automatic grid in View ▹ Grid and Axis Manager... dialog. Check this video. Note that i have Pixel View enabled in the video so we can see the blurriness when the path (line) is placed on whole pixels. Quote 2021 16” Macbook Pro w/ M1 Max 10c cpu /24c gpu, 32 GB RAM, 1TB SSD, Ventura 13.6 2018 11" iPad Pro w/ A12X cpu/gpu, 256 GB, iPadOS 17 Link to comment Share on other sites More sharing options...
ronnyb Posted April 7, 2015 Share Posted April 7, 2015 I tried it using Force Pixel Alignment > Move by Whole Pixels and it works great, it doesn't let the cursor land in the middle of a pixel, only the edges, ensuring no aliasing... Awesome! For lines, you need to have the snapping working on half-pixels (not whole pixels). To do it, go to View ▹ Show Grid and enable Snap to Grid. Make sure you have Force Pixel Alignment disabled. You should now be able to edit objects and nodes positions in half pixels. The more you zoom in the more precision you get from the snapping when you set the grid to Use automatic grid in View ▹ Grid and Axis Manager... dialog. Check this video. Note that i have Pixel View enabled in the video so we can see the blurriness when the path (line) is placed on whole pixels. Quote 2021 16” Macbook Pro w/ M1 Max 10c cpu /24c gpu, 32 GB RAM, 1TB SSD, Ventura 13.6 2018 11" iPad Pro w/ A12X cpu/gpu, 256 GB, iPadOS 17 Link to comment Share on other sites More sharing options...
Staff MEB Posted April 7, 2015 Staff Share Posted April 7, 2015 Yes it is :) Ben did an amazing job with snapping/grids. And there's still more to come... :D Quote A Guide to Learning Affinity Software | Affinity Quick Reference | Call for Camera Images Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.