🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2408

Re: how do I draw complex polygons (i.e. do-nuts) in Windows?

#2408
From: Tom W. Brown
Date: Thu, 28 Jan 1993 19:18
22 lines
1510 bytes
In article <1993Jan27.040348.17621@emr1.emr.ca>, jagrant@emr1.emr.ca (John Grant) writes:
|> I've been trying to understand the ...region... Windows functions, but
|> I'm not having much luck in applying them to my requirement to draw
|> complex polygons.  Specifically, I want to draw a lake containing an
|> island (or two) as a single filled polygon.

I haven't tried it, but perhaps the CreatePolyPolygonRgn() function is
what you want; from the manual:

   The CreatePolyPolygonRgn function creates a region consisting of
   a series of closed polygons.  The polygons may be disjoint, or
   they may overlap.

Now, I wonder if there is a CreatePolyPolyPolygonRgn() for a series
of series of closed polygons :-)


----------------------------------------------------------------------------
Tom Brown               |  "She turned me into a newt...
PE Nelson Systems       |                                  ... I got better"
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
Technical Details
Message-ID: <757@lax.lax.pe-nelson.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!lax.pe-nelson.com!lax!twbrown
References: <1993Jan27.040348.17621@emr1.emr.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!lax.pe-nelson.com!lax!twbrown
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: how do I draw complex polygons (i.e. do-nuts) in Windows?
Message-ID: <757@lax.lax.pe-nelson.com>
Date: 28 Jan 93 19:18:47 GMT
References: <1993Jan27.040348.17621@emr1.emr.ca>
Sender: news@lax.pe-nelson.com
Organization: PE-Nelson
Lines: 22