MacArthur, Ian (SELEX) (UK) wrote:
>> In the fltk source code, there are many api's name with 
>> prefix -- "CGContext", such as:
>> CGContextMoveToPoint()
>> CGContextAddLineToPoint()
>>
>> Which lib supply these api? And where can I find the head file?
> 
> You find these on a Mac running OSX - they are from Apple's core
> graphics layer, IIRC.
> So if you are on a Mac, they should be there, if you are not on a Mac...
> 
> Google is pretty good at finding hits for Apple's API's if you just want
> to see how they work (if you are on a Mac the Developer docs that come
> with Xcode include this info.)
> 
> You were trying to port fltk to another platform I think? If so, the
> Apple port may not be the easiest to copy? I'm not sure, but I thought
> Matthias struggled a fair bit to get the Mac stuff working right, it is
> tricky... Matthias would probably have a view on this!
> 
> 
> 
> 
> 
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
> 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
> 

I'm just reading the source code of the fltk, not trying to port fltk.
Thanks for your answer. It's helpful...
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to