diff options
Diffstat (limited to 'html/en/drv/emf.html')
-rw-r--r-- | html/en/drv/emf.html | 32 |
1 files changed, 20 insertions, 12 deletions
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 @@ <p>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".</p> - <p>The driver works only in the Microsoft Windows platform, but you can use it + <p>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 <font face="Courier"><strong> cdCreateCanvas</strong></font> will return NULL.</p> @@ -41,23 +41,31 @@ <a href="../func/init.html#cdKillCanvas"> <font face="Courier"><strong>cdKillCanvas</strong></font></a> is required to <b>close</b> the file properly.</p> -<p>To use this driver in Windows using GDI+ is necessary to call -<font face="Courier"><strong> + +<h3>Behavior of Functions</h3> + + <p>This driver is very platform-dependent. </p> + + <p>For further detail, see the <b> + Behavior of Functions</b> in each base driver: <a href="win32.html">GDI</a>. To use this driver + with a context plus base driver is necessary to call + <font face="Courier"><strong> cdUseContextPlus</strong></font><strong><font face="Courier">(1)</font></strong> -before creating the canvas. If you intend to use <strong>cdCanvasPlay</strong> + before creating the canvas, see the <a href="../drv/gdiplus.html">GDI+</a> and + <a href="../drv/cairo.html">Cairo</a> base drivers.</p> +<p>However, it should be noted that some functions behave differently from the +basic functions of each platform.</p> + +<p>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.</p> + +<p>If you intend to use <strong>cdCanvasPlay</strong> to interpret the EMF, then do not use GDI+ to generate the metafile. GDI+ extensively use internal transformations that will affect the <strong> cdCanvasPlay</strong> interpretation. Also some interior style will not be correctly interpreted.</p> -<h3>Behavior of Functions</h3> - - <p>This driver is greatly platform-dependent. For further detail, see the <b> - Behavior of Functions</b> of the <a href="win32.html">Microsoft Windows (GDI)</a> - or <a href="gdiplus.html">Windows Using GDI+</a> 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.</p> - <h4>Control Functions</h4> <ul> <li><a href="../func/other.html#cdPlay"> |