Thanks Charles, very enlightening, and of course it works great. The
only problem now is that apparently I cannot set text styles like bold
and italic in a CGContext, but I have to use ATSUI and that is one realm
I don't want to visit. Furthermore, there seem to be some discrepancies
between font names in RB and Quartz.
One question: Your book says "But a study of the PowerPC calling
conventions reveals that it is in fact possible to declare and call such
functions."
Does it mean that it probably won't work in a Universal binary on Intel?
Thanks,
Andrea Suraci
Charles Yeomans wrote:
You can't declare a function to return a struct of size greater than
four bytes. Instead you use the following trick -- declare the function
with the return value as the first parameter.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>