From 553cd80ed974c1dd151f902040bd942f043ac193 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 18 Jun 2010 18:19:28 +0000 Subject: *** empty log message *** --- html/en/drv/cairo.html | 9 ++++++--- html/en/func/init.html | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'html') diff --git a/html/en/drv/cairo.html b/html/en/drv/cairo.html index 9632ed8..55c788a 100644 --- a/html/en/drv/cairo.html +++ b/html/en/drv/cairo.html @@ -24,7 +24,7 @@ implemented in the X-Windows and MS-Windows systems. The implementation uses the Cairo and Pango functions. This driver can be compiled and used in all systems Cairo is supported. The drivers Native Window, - Image, Printer and Double Buffer were implemented.

+ Image, EMF, Printer and Double Buffer were implemented.

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 CairoGDI+ -and XRender base drivers.

+and XRender base drivers. Those libraries does +not support XOR write mode, but has support for anti-aliasing and alpha for +transparency.

In Lua, when using require"cdluacontextplus" this function will be automatically called.

-- cgit v1.2.3