Knut, How about using "Draw Multiple Lines" with Fill True? That should fill in your polygon for you.
Bruce ------------------------------------------ Bruce Ammons Ammons Engineering www.ammonsengineering.com (810) 687-4288 Phone (810) 687-6202 Fax -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knut Steinnes Sent: Thursday, January 22, 2004 2:52 AM To: [EMAIL PROTECTED] Subject: [A,W] Picture func, fill Dear folks, I have an application where I need to draw a few areas upon a picture and calculate the ratio between these areas. I'm using 7.0 PDS and the Picture functions. Reading a picture and drawing some closed polygons in a Picture object does work well. However, the filling procedure is more akward. The algorithm always corner itself before finishing the closed polygon. (It is following the inner edge so creating 'islands' is unavoidable) Any hints about how to fill an area? Maybe it can be done by searching line by line...or buying the Vision module, but the app is to 'simple' for that. Knut ____________________________________________________________________ University of Troms�, Medical Faculty, Medical Physiology, N-9037 Troms�, Norway Tel. +47 776 44692, Fax. +47 776 45440
