Jump to content
You must now use your email address to sign in [click for more info] ×

Too hard to scale wide, thin rectangles


Recommended Posts

For Windows you can activate the zoom function with the wheel: on the "Edit" menu click on "Preferences" then on "Tools" and tick "Using the wheel to zoom".

 

Sure, but I prefer to uncheck this box. So I use the wheel for vertical scrolling and ctrl+wheel for zooming.

Link to comment
Share on other sites

In the end I've found a really GREAT solution: by using a transparency gradient, I was able to create a line that behaves exactly the way I want!!!

 

The line is actually 2 pixels wide, but it is 100% transparent in the upper half because it has two very closely spaced points in the middle. See the picture and the .afdesign file.

 

(This trick works only for horizontal and vertical lines: diagonals are badly rendered and look like "ladders" on screen.)

post-35651-0-47519500-1485863015_thumb.png

1px line.afdesign

Link to comment
Share on other sites

(This trick works only for horizontal and vertical lines: diagonals are badly rendered and look like "ladders" on screen.)

There is no way around that for raster images. Pixels are square (or at least rectilinear) & must be filled with only one color, so it is not possible for a diagonal edge to be rendered smoothly. You will always get what is informally known as jaggies.

 

It is for this reason your "ultimate" Stroke tool would not do any better, & what I meant when I said, "That would be useful for the special case of vertically or horizontally aligned lines or shapes, but consider ones with a diagonal component. It would still be impossible to align them completely to pixel edges no matter what the offset."

All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

There is no way around that for raster images. Pixels are square (or at least rectilinear) & must be filled with only one color, so it is not possible for a diagonal edge to be rendered smoothly. You will always get what is informally known as jaggies.

 

It is for this reason your "ultimate" Stroke tool would not do any better, & what I meant when I said, "That would be useful for the special case of vertically or horizontally aligned lines or shapes, but consider ones with a diagonal component. It would still be impossible to align them completely to pixel edges no matter what the offset."

 

This workaround (and a possible future solution) is for horizontal and vertical lines, that's what we need for UI design. Diagonals will just use regular lines.

Link to comment
Share on other sites

  • 2 years later...

It seems that version 1.7 is better regarding the problem of scaling thin lines. (Another silent improvement?) Even when only two handles are visible, a horizontal / vertical scale arrow appears nonetheless. This doesn't happen in v. 1.6.

Designer_2019-03-01_12-20-28.png.ef7294d296586ac88848ad4f5430a78d.png

When they overlap a bit more, however, the horizontal / vertical arrow disappears, so there is still room for improvement. Anyway, thanks a lot for addressing this issue!

Designer_2019-03-01_12-22-36.png.8d6bb7e16e8d0d21782e3855851f8db8.png

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.