On Aug 29, 2011, at 7:18 PM, Julie Porter wrote: > In some ways it is too bad I can not call the cocoa classes from a postscript > syntax, considering that the program already defines the data in arrays of > dictionaries. I think at one time there was interactive postscript on the > NEXT. Not sure if any of that still exists or not.
NeXTSTEP used Display PostScript; ripping this out and replacing it with a new graphics system (CoreGraphics aka Quartz) was one of the big tasks in the transition to Mac OS X. There’s some appeal to the idea of sending graphics to the display system as executable code, but it was very inefficient. (It was also proprietary code owned by Adobe, which demanded a fairly steep per-copy licensing fee.) There’s not really any direct correlation between a tree-based data structure (NSArrays/NSDictionaries) and PostScript. You’d just end up translating one representation into another (textual) one before having it rendered; calling CG directly skips that step. —Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com