Win32 printing surfaces to EMF DCs
Zozó Teki <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAE+APxgYQtQKLcFup5AfZmvpu8v==8so=GNZqiiUZZuGOv57Og@mail.gmail.com> |
Hi, I want to use cario to draw to a Windows Enhanced Metafile. In Windows metafiles have an associated _reference device context_ specific to a concrete device. Otherwise metafiles are largely generic, in many ways similar to cairo recording surfaces. The easiest way to create an EMF file is to use the display as reference context - it is always available. When cairo creates the printing surface, it reads the Clip Box of the reference DC and uses that as extent. This way I can only create EMFs as large as the screen. Is there some way I can adjust the extent of a win32 printing surface? Do you think it is a good idea to set the extents of win32 printing surfaces created for metafiles to unbounded? Zoltan -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo