From 553cd80ed974c1dd151f902040bd942f043ac193 Mon Sep 17 00:00:00 2001
From: scuri
The main motivation for the use of Cairo was transparency for all the primitives. Beyond that we got other features like anti-aliasing, gradient filling, transformations and other back-ends (support to rendering: PDF, PS, SVG and @@ -39,11 +39,14 @@ for complex clipping regions.
the canvas will be always a Cairo canvas. In fact the function affects primary the definitions CD_NATIVEWINDOW, CD_IMAGE, + CD_EMF, CD_PRINTER and CD_DBUFFER, because they are function calls and not static defines. - CD_PRINTER can only - be used along with GDK base driver in UNIX. + CD_PRINTER can be used with + the GDK base driver in UNIX, or with the Win32 base driver in Windows. + CD_EMF can be used + in Windows only, with GDK or Win32 base drivers.Using Cairo it is allowed to create more that one canvas at the same time for the same Window. And they can co-exist with a standard GDK, Win32 or X-Windows canvas.
To enable the use of Cairo based drivers you must call the initialization function -- cgit v1.2.3