That won't work. Screen capture will return a bitmap image (plus, OS X has it's own OpenGL context which completely bypasses the Quartz drawing framework, so even if screen capture could capture the drawing commands, it still wouldn't be in PDF format).
On Oct 10, 2:59 am, "Python Nutter" <[EMAIL PROTECTED]> wrote: > If you just want a one-off and want the easiest way possible, it would > be to just take your program to a Mac and run it on the Mac and do a > screen capture. Mac OS X uses PDF as the rendering engine for the > screen so it natively handles and creates PDFs with ease. PDF used to > be the default output for screen captures (there is a list of > different possible file formats including PDF so you might have to > tweak the Mac back to PDF as default -- osxhints.com should tell you > as I've seen such tips posted there all the time.) > > 2008/10/10 Alex Holkner <[EMAIL PROTECTED]>: > > > > > On 10/10/08, vaibhav <[EMAIL PROTECTED]> wrote: > > >> Hi, > >> Is there a way i can output a pyglet screen to pdf? I want to save > >> something i have drawn on screen as PDF (as vector). > > > This > > articlehttp://www.opengl.org/resources/code/samples/mjktips/Feedback.html > > explains how to use OpenGL feedback to create postscript drawing > > commands from OpenGL calls. The same technique can be used for > > creating PDF (which has a similar rendering model to postscript). > > This would be a fair chunk of work to implement, however. > > > Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
