Two rectangles with the same size
Two rectangles with the same size
Hello everybody, When I draw a rectangle, color red and no border, and I duplicate it, color yellow and no border, and put the yellow on top of the red one, I can see the red one on all bordersides. So the yellow one is not covering the red one as I would expect. What could be the problem and is there a solution for it. Thanks for your help. Rubins
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: Two rectangles with the same size
When I do the steps, it keeps the same size, it's just that Inkscape slightly changes the yellow border to allow me to see the retangle below, so I know it's there. If you look again, is your border acutally moving or could it be that you are seeing through the yellow, and maybe it's an optical illusion?
Re: Two rectangles with the same size
dunno,
I see what you mean though
not to be flip as my gf says, why is this a problem? what are you using as the output, png, pdf, ps, svg ? I didn't try it so does the shadowy color show up in what you are trying to use the graphic for?
I guess you could put a hairline around the box on top to hide the shadow?
seems to me like it's some kind of anti-aliasing thing and might not show up on all monitors and systems?
I see what you mean though
not to be flip as my gf says, why is this a problem? what are you using as the output, png, pdf, ps, svg ? I didn't try it so does the shadowy color show up in what you are trying to use the graphic for?
I guess you could put a hairline around the box on top to hide the shadow?
seems to me like it's some kind of anti-aliasing thing and might not show up on all monitors and systems?
Re: Two rectangles with the same size
This is a known "issue" with Inkscape's rendering "engine". There is nothing you can do about it, beside making the top object slightly bigger. Or there may be another solution, depending on your image and your goals. If making the top one bigger won't work, let us know why and what is your goal. Maybe even show us a screenshot.
(This was the subject of one of my very first messages here, lol. I'll try to find it, and make a link, because I think it contains a more technical description. But soooo long ago.....!)
EDIT
I didn't think I would find it, but I did. But rather than creating a link, the explanation is easy enough. Inkscape automatically anti-aliases the shapes. That creates a very, very, tiny, thin strip around the edge, that's partly transparent, allowing you to see a darker color below. (anti-aliasing helps create those smooth, clean, crisp lines) Nothing can be done about it, but we can find workarounds, depending on your image and your goals
(This was the subject of one of my very first messages here, lol. I'll try to find it, and make a link, because I think it contains a more technical description. But soooo long ago.....!)
EDIT
I didn't think I would find it, but I did. But rather than creating a link, the explanation is easy enough. Inkscape automatically anti-aliases the shapes. That creates a very, very, tiny, thin strip around the edge, that's partly transparent, allowing you to see a darker color below. (anti-aliasing helps create those smooth, clean, crisp lines) Nothing can be done about it, but we can find workarounds, depending on your image and your goals

Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design