Quickdraw has already been deprecated by Apple. It is well on its way
out.
We are also faced with replacing QD with the Quartz API's. Quartz is
fast and can use processors on video cards.
Be sure that the replacement algorithms understand that the new
coordinate system is flipped from QD.
Your functionality may already be available in the form of
transformations.
As you are OK with C, you may want to join an Apple graphics mailing
list. You may need a free developer registration with Apple to use
the mailing list. Go to Apple.Com/Developer/ then click Mailing Lists
then click Quartz-dev.
Good luck, my friend.
Gary
On Aug 31, 2007, at 4:17 PM, Peter K. Stys wrote:
> 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>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|