🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2908

PolyPolygon bug in Windows 3.0 w/uSoft VGA driver

#2908
From: Uncle Miltie
Date: Wed, 29 May 1991 16:40
18 lines
1342 bytes
I have discovered that PolyPolygon doesn't work too well.  The SDK reference
volume 1, page 4-334 speaks thusly:

	"Each polygon must be a closed polygon.  Unlike polygons created
	by the Polygon function, the polygons created by PolyPolygon are
	not automatically closed."

This is accurate.  The polygon has gaps on screen if the first and last points
of a given polygon are not equal.  Unfortunately when the first and last
points ARE equal, PolyPolygon crashes.  This is bad.  I have a very ugly
workaround which involves placing the last two points very near the first
point.  Is this a driver bug for which a fix is available or is this a GDI
bug?  Is there a real workaround?

	-- Uncle Miltie

--
	"I am the Ring of the Gecco people"  -- Crispy Clover
Technical Details
Message-ID: <UNCLE.91May29094057@milton.milton.u.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!ogicse!milton!milton!uncle

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!ogicse!milton!milton!uncle
From: uncle@milton.milton.u.washington.edu (Uncle Miltie)
Newsgroups: comp.windows.ms.programmer
Subject: PolyPolygon bug in Windows 3.0 w/uSoft VGA driver
Message-ID: <UNCLE.91May29094057@milton.milton.u.washington.edu>
Date: 29 May 91 16:40:57 GMT
Article-I.D.: milton.UNCLE.91May29094057
Sender: uncle@milton.u.washington.edu (Uncle Miltie)
Distribution: usa
Organization: Sublime Thoughts and Actions Corp.
Lines: 18