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
diff --git a/html/en/func/init.html b/html/en/func/init.html
index 32a1ab6..17092c8 100644
--- a/html/en/func/init.html
+++ b/html/en/func/init.html
@@ -124,7 +124,9 @@ cd.InitContextPlus() [in Lua]
Initializes the context driver to use another context replacing the standard drivers.
This functions is only available when a library containing a "ContextPlus"
context driver is used. See the Cairo, GDI+
-and XRender base drivers.
In Lua, when using require"cdluacontextplus" this function will be automatically called.
-- cgit v1.2.3