From eef7ae01a9757f5e4a0693d539ee1fac5b09e756 Mon Sep 17 00:00:00 2001 From: scuri Date: Wed, 13 Oct 2010 19:19:03 +0000 Subject: *** empty log message *** --- html/en/drv/emf.html | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'html/en/drv/emf.html') diff --git a/html/en/drv/emf.html b/html/en/drv/emf.html index bed1461..a6facf2 100644 --- a/html/en/drv/emf.html +++ b/html/en/drv/emf.html @@ -15,7 +15,7 @@

This driver allows generating a Microsoft Windows Enhanced Metafile, the format used by 32-bit Windows systems to store graphics primitives. Usually, the filename has an extension "*.emf".

-

The driver works only in the Microsoft Windows platform, but you can use it +

The driver works only with the GDI, GDI+ and Cairo base drivers, but you can use it in other platforms without the risk of compilation error. If you attempt to create a canvas in another platform, function cdCreateCanvas will return NULL.

@@ -41,23 +41,31 @@ cdKillCanvas is required to close the file properly.

-

To use this driver in Windows using GDI+ is necessary to call - + +

Behavior of Functions

+ +

This driver is very platform-dependent.

+ +

For further detail, see the + Behavior of Functions in each base driver: GDI. To use this driver + with a context plus base driver is necessary to call + cdUseContextPlus(1) -before creating the canvas. If you intend to use cdCanvasPlay + before creating the canvas, see the GDI+ and + Cairo base drivers.

+

However, it should be noted that some functions behave differently from the +basic functions of each platform.

+ +

It has + been noticed that EMFs, when saved in the Windows 9x environment, is not + totally compatible with EMFs saved in the Windows NT environment.

+ +

If you intend to use cdCanvasPlay to interpret the EMF, then do not use GDI+ to generate the metafile. GDI+ extensively use internal transformations that will affect the cdCanvasPlay interpretation. Also some interior style will not be correctly interpreted.

-

Behavior of Functions

- -

This driver is greatly platform-dependent. For further detail, see the - Behavior of Functions of the Microsoft Windows (GDI) - or Windows Using GDI+ platform base drivers. It has - been noticed that EMF, when saved in the Windows 95 environment, is not - totally compatible with EMF saved in the Windows NT environment.

-

Control Functions