Hi,
I think over how to implement canvas for Carbon interface.
There are two possibilities to use: QuickDraw or Quartz 2D. I want to consult it with you.
Here is the list of disadvantages, I have found:

QuickDraw
- DC of Carbon controls must use Window Port
- deprecated in Mac OS X v10.4

Quartz 2D
- unable to implement GetPixel, FloodFill, SetPixel must be simulated via line drawing
- different coordination system (change Current Transformation Matrix)
- bledning instead of ROP
- bitmap canvas implementation (needs Mac OS X v10.4 because of CGBitmapContextCreateImage, but we can get round it)

Feel free to point out anything I have omitted.
From my point of view the Quartz 2D appears to be more suitable, although it doesn't provide per-pixel operations.

Regards,
   Tom Gregorovic

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to