Can anyone point me to an algorithm (with source preferably, C is
fine) that "insets" a polygon (defined by a set of vertices as x,y
coordinates). By inset I mean "shrink" towards its "center" (or
expand if the dx,dy params are negative).
Basically I'm moving away from QuickDraw as I fear one day Apple will
drop it, and need replacements for its many (and lightning fast)
functions.
Insetting a polygon appears much harder than I first anticipated.
Any ideas?
Thanks,
Peter.
--
---------------------------------------------
Peter K. Stys, MD
Dept. of Clinical Neurosciences
Hotchkiss Brain Institute
University of Calgary
tel (403) 210-8646
---------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|