0

See image 1 below. Orange shape has width 38px, and thickness of 1px. Green has width 152px and thickness 1px.

I created these shapes using the technique in image 4. There are two rectangles one over other, and I used MINUS FRONT tool to create these two shapes of same height but different width and radius.

Radius: I used 12px for the green shape and radius 3px for the orange shape.

enter image description here

Now,

Problem is when I want to scale them up.

Behaviour 1 (image 2): I scaled each of them up individually to 200%. The green shape got correct thickness (2px) but radius got distorted, and it became a straight line. The orange shape maintained every proportion.

Behaviour 2 (image 3): When I scaled selecting both of the shapes together, both shapes maintained their proportions and didn't get distorted.

Why is that? What I need is maintain the pixel perfect ratio and scale up without losing/distorting the radius. Is there something to do with the RADIUS / RADIUS-WIDTH RATIO?

Generally, is it even possible to maintain the proportions of such shapes given the 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 Kumar 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 Kumar 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.