Am 02.04.2008 um 01:05 schrieb Graham Cox:
As I said, it says nothing about how it's implemented. Chances are,
it will avoid creation of an unnecessary NSBezierPath object, but
relying on that being the case is folly.
On 2 Apr 2008, at 2:23 am, Matthew Whillock wrote:
The class reference
p1 = [NSBezierPath bezierPath] ;
[p1 moveToPoint: linebottom] ;
[p1 lineToPoint: linetop] ; [p1 stroke] ;
You could keep a permanent bezier path at a convenient location (e.g.
your view) and empty it instead of releasing it. This worked fine for
my app:
[localPath re
Hi All,
hopefully someone can shed a bit light on this strange issue:
[[NSFontManager sharedFontManager]
fontWithFamily: @"Lucida_Grande"
traits: NSUnitalicFontMask | NSBoldFontMask
weight: 0.5
size: 14.0]
delivers the correct font when the application was launch