Unfortunately I guess so. Hopefully my boss will understand.
On Jan 30, 2007, at 14:59:03, James Mitchell wrote:
This may be a stupid question, but cab the old QuickDraw calls like MoveTo, MacLineTo, PenSize, etc. be used in a CGContextRef? If so how? I took some example code from Apple that shows how to use Quartz (Core Graphics) ad added some code to draw draw a couple of lines, but could not get anythign to display. I know I shoudl be using the the CG calls, and I plan to, but I have some older code that I need to get workign RIGHT away, and then I will modify it over time to use the CG calls.
I'm sure it will be much faster to get the code working to use Quartz now instead of trying to make a QD hack work. It's not that hard at all:
CGContextBeginPath(context);
CGContextMoveToPoint(context, p1.x, p1.y);
CGContextAddLineToPoint(context, p2.x, p2.y);
CGContextStrokePath(context);
_________________________________________________________
Steve Mills Me: 952-401-6255
Senior Software Architect MultiAd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription:
Do not post admin requests to the list. They will be ignored.