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/xrender.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'html/en/drv/xrender.html') diff --git a/html/en/drv/xrender.html b/html/en/drv/xrender.html index 202ec34..11bdc1b 100644 --- a/html/en/drv/xrender.html +++ b/html/en/drv/xrender.html @@ -15,14 +15,15 @@

This driver represents a basic driver for all system-dependent drivers implemented in the X-Windows system using the XRender extension. The implementation uses the XRender and Xft API functions.

+

It can be used only as the context plus driver of the X-Win based drivers.

The main motivation for the use of XRender was transparency for all the primitives. Beyond that we got other features like anti-aliasing, gradient filling and transformations.

This driver still does not completely replace the X-Windows base driver, because XRender does not have support for XOR and for line styles.

So we let the programmer to choose what to use. We created the function - cdUseContextPlus that allows to activate or to deactivate the use of - X-Render for the available X-Windows based drivers. + cdUseContextPlus that allows to activate or to deactivate the use of + X-Render for the available X-Win based drivers. This function affects only the cdCreateCanvas function call, once created the canvas will be always a XRender canvas. In fact the function affects primary the definitions CD_NATIVEWINDOW, @@ -32,7 +33,7 @@

Using XRender 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 X-Windows canvas.

To enable the use of XRender based drivers you must call the initialization function - cdInitContextPlus() once and link to the libraries "cdcontextplus", "Xrender" and "Xft". + cdInitContextPlus once and link to the libraries "cdcontextplus", "Xrender" and "Xft". Also the libraries "Xrender" and "Xft" must be installed in your system. The XRender extension must be available in the X-Windows server for the driver to work.

@@ -42,7 +43,7 @@ IRIX.

In CDLua it is not necessary any additional initialization, but the application must still be linked with the cdcontextplus.lib library or a require"cdluacontextplus" can be used when - using dynamic libraries.

+ using dynamic libraries. When using require, it is NOT available in Linux.

Behavior of Functions

Control 

-- cgit v1.2.3