Bill said:
> The fltk2 OSX version has had major rewrites to use Carbon correctly and
> to stop using QuickDraw. You probably want to copy most/all of it if
> possible.
>
Well, I just had a closer look to fltk2 quartz impl., the first thing I had a 
look to was the region handling used for clipping drawing areas.
But still in fltk2, we use Rgn related API which is pure deprecated QD.
I guess it should use CGPaths and achieve the clipping directly in the graphic 
context as in Quartz there is no region concept anymore, we should use APIs 
like CGPathCreateMutable() instead of NewRgn, Replace RgnHandle probably by a 
CGPathMutableRef and so on.

I'll look to other fltk2 quartz impl. to see if I can copy some of it which I 
hope.

Fabien
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to