Osama bin Laden on  wrote...
| Hi,
| 
| I'm having problems drawing polygons with holes within
| them. I'm giving the Draw() function, e.g., such
| parameters:
| 
| 
100,100,300,100,300,300,100,300,100,100,200,200,150,200,150,150,200,150,200,200
| 
| i.e., a rectangle with points (100,100) and (300,300)
| and within it another one with (150,150,200,200).
| 
But what was the rest of the command? Mr Osama bin Laden.

What colors, did you use a stroke color?

| The problem is that it draws a visible line to the
| first corner of the rectangle defining the inner
| contour.
|
If you used a stroke color, of course it did.

Color it with just fill, then draw the two objects seperatally.
Better still use the more advanced SVG Path Strings to describe the
object, rather than the simplier polygon.

  http://www.cit.gu.edu.au/~anthony/graphics/imagick6/draw/#paths

| Can this be avoided?
| 
Yes, see above.

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
   "I didn't think I was going to survive that...".
   "YOU WERE CORRECT", replied Death.     -- Terry Pratchett - ``Men At Arms''
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to