Drawing rectangles without transparence

 

Hi,

how can I draw two rectangles a little bit shifted without transparency??

 
sunshineh:

Hi,

how can I draw two rectangles a little bit shifted without transparency??

Don't draw the bit that overlaps.
 

OK, this work.

But I don't know before where the rectangles overlaps.

 
sunshineh:

OK, this work.

But I don't know before where the rectangles overlaps.

Get their coordinates and work it out.
Reason: