[Pyobjc-dev] Using Core Graphics
Brought to you by:
ronaldoussoren
From: Greg H. <ghu...@fr...> - 2004-06-03 05:24:02
|
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? I have seen in other mailing list archives that I would have to use ATSUI for the text rendering. I would like to know if anyone knows if there are bindings for ATSUI or if there is another way around rendering text into the image. Any help is greatly appreciated Regards, Greg |