0

See image 1 below.

  • Orange shape has a width of 38px and a thickness of 1px, with a radius of 12px
  • Green has a width of 152px and a thickness of 1px, with a radius of 3px

I created these shapes using the technique in image 4.

There are two rectangles one over the other, and I used the MINUS FRONT Pathfinder command to create these two shapes of the same height but different widths and radii.

enter image description here

My problem occurs when I try to enlarge these shapes.


Behavior 1 (image 2): I enlarged each of them individually to 200%. The green shape maintained a correct thickness (2px) but radius got distorted, and the shape became a straight line. The orange shape maintained every aspect.


Behavior 2 (image 3): When I enlarge both of the shapes together, both shapes maintained their proportions and nothing got distorted.


Why is that?

I need to maintain the pixel perfect ratio and enlarge without losing/distorting the radius. Is this something to do with the RADIUS / RADIUS-WIDTH RATIO?


Generally, is it even possible to maintain the proportions of such shapes given that align to pixel grid is checked?

  • 1. what you call height is simply the thickness of the stroke, or the stroke itself (it's clear that the green shape is higher than the orange one). 2. did you finish the boolean operation (merge shape components) or is the shape you used to subtract still part of the objects? – Luciano Oct 17 '18 at 15:51
  • another question: are you scaling just the height or width+height proportionally? – Luciano Oct 17 '18 at 15:57
  • 3rd question: are you using photoshop or illustrator? you added both tags. I'll assume Illustrator. – Luciano Oct 17 '18 at 15:59
  • 1. These are shapes, not strokes. 2. They are not part of anything else. They are independent. 3. I maintained proportions. 4. Illustrator – Vikas Oct 18 '18 at 16:12
  • I can't reproduce the problem – Luciano Oct 22 '18 at 8:54
0

Solution

Modify the inner curve or move the bottom point a pixel down:

curve

Point down

Pixel Down

  • Hi, I can't move it a pixel down as I don't have to change radius. Further I was more interested in knowing the reason for this behavior. – Vikas Aug 19 '18 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.