PDA

View Full Version : Can i draw to metafile from OpenGL?



Sanya
03-16-2001, 04:00 AM
Is there any metod to draw metafile from OpenGL?

danoon
03-16-2001, 08:50 AM
If you don't mind being tied to windows I'd suggest creating a memory DC, playing the metafile into the DC then coping the bits back into a texture for OpenGL to use. If you want this to be platform indepentant then you will need to write your own metafile player which could take you quite a bit of time if you want to use WinGDI objects such as fonts, brushes and pens.