On 23-Sep-06, at 12:25 PM, Phil M wrote:
On Sep 23, 2006, at 7:17 AM, Matthias Buercher wrote:
the font renderers have specific routines to optimize this,
because they know the points of the path. if i had to do this
myself, it would be an overkill because i would have to draw it
very oversampled and then vectorize the image!
New in REALbasic 2006 is the Graphics.Handle property, and I am
guessing you can the Handle property to Extend the Graphics object
using Declares. ...
You could try setting the smoothing flag via the
CGContextSetShouldSmoothFonts and/or CGContextSetShouldAntialias
APIs, but RB may override that setting before drawing. Either way if
you're using Quartz declares keep in mind that Graphics.Handle
currently returns a QuickDraw CGrafPtr, so you'll have to use
something like QDBeginCGContext/QEndCGContext to grab a CGContextRef.
Frank.
<http://developer.chaoticbox.com/>
_______________________________________________
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>