Question on NSBezierPath
Question on NSBezierPath
- Subject: Question on NSBezierPath
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 25 May 2001 11:45:28 +0200
I've followed one interesting thread on NSBezierPath but am not still
able to answer this stupid question:
is it worth doing this ?
NSBezierPath * tBezierPath;
tBezierPath = [NSBezierPath bezierPath];
[tBezierPath moveToPoint:NSMakePoint(0,0)];
[tBezierPath lineToPoint:NSMakePoint(10,0)];
[tBeizerPath stroke];
tBezierPath = [NSBeziierPath bezierPath];
[tBezierPath moveToPoint:NSMakePoint(0,5)];
[tBezierPath lineToPoint:NSMakePoint(10,5)];
[tBeizerPath stroke];
or can I avoid the second call to tBezierPath = [NSBezierPath
bezierPath]; since as it was stated the path has been consumed ?