home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5454 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.4 KB

  1. Path: sparky!uunet!lax.pe-nelson.com!lax!twbrown
  2. From: twbrown@PE-Nelson.COM (Tom W. Brown)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: how do I draw complex polygons (i.e. do-nuts) in Windows?
  5. Message-ID: <757@lax.lax.pe-nelson.com>
  6. Date: 28 Jan 93 19:18:47 GMT
  7. References: <1993Jan27.040348.17621@emr1.emr.ca>
  8. Sender: news@lax.pe-nelson.com
  9. Organization: PE-Nelson
  10. Lines: 22
  11.  
  12. In article <1993Jan27.040348.17621@emr1.emr.ca>, jagrant@emr1.emr.ca (John Grant) writes:
  13. |> I've been trying to understand the ...region... Windows functions, but
  14. |> I'm not having much luck in applying them to my requirement to draw
  15. |> complex polygons.  Specifically, I want to draw a lake containing an
  16. |> island (or two) as a single filled polygon.
  17.  
  18. I haven't tried it, but perhaps the CreatePolyPolygonRgn() function is
  19. what you want; from the manual:
  20.  
  21.    The CreatePolyPolygonRgn function creates a region consisting of
  22.    a series of closed polygons.  The polygons may be disjoint, or
  23.    they may overlap.
  24.  
  25. Now, I wonder if there is a CreatePolyPolyPolygonRgn() for a series
  26. of series of closed polygons :-)
  27.  
  28.  
  29. ----------------------------------------------------------------------------
  30. Tom Brown               |  "She turned me into a newt...
  31. PE Nelson Systems       |                                  ... I got better"
  32. twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
  33. ----------------------------------------------------------------------------
  34.