Re: [Pyobjc-dev] Using Core Graphics
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2004-06-03 05:30:28
|
On 3-jun-04, at 7:23, Greg Hulands wrote: > Hi, > I am writing an image renderer in python using the core graphics > bindings and all the image rendering is working like a charm. The > problem I have come across is that when I try to render text, the > methods that are exposed have very limited functionality. What I > wanted was something like app kits [NSString > drawInRect:withAttributes:]. I am running the script from a webobjects > application so there may not be a user logged in. This would mean I > cannot use the appkit py-objc bridge? That's most likely, most of AppKit requires a connection to the window server. You can always test using some trivial drawing code :-) Ronald -- X|support bv http://www.xsupport.nl/ T: +31 610271479 F: +31 204416173 |