Hi,

I more or less completed the (huge) update to the wxWidgets driver.  
Basically there is now a basic abstract wxWidgets driver class, which  
can't do nothing on its own, but backends can be inherited from this  
base class (various drivers in one driver if you want). This allowed  
to me to add a new backend based on wxGraphicsContext easily which  
adds transparency and antialiased output to the wxWidgets driver. I  
added also code which allows the driver to easily process the text  
themselves. A short feature overview:

backend 0, default, based on wxDC: Own text processing (no shear), non- 
antialiased, no transparency, freetype optional, fast
backend 1, based on AGG library: No text processing (working on it),  
antialiased,  transparency, freetype optional, not so fast
backend 2, based on wxGraphicsContext: Own text processing (incl.  
shear), antialiased, transparency, no freetype, not so fast

Backend 0 is always there for all platforms if wxWidgets is available.  
Backend 1 needs the AGG library. Backend 2 is available if  
wxGraphicsContext is available, which is the case for wxWidgets  
version 2.8 and above. In Linux this needs in addition cairo and the  
configure option --enable-graphics_ctx, in Windows GDI+ and therefore  
only for Visual C++ (MinGW is possible, but not sure about the  
license), in Mac OS X the wxWidgets library delivered with 10.5 has  
wxGraphicsContext included.

I tested the driver (looking at all examples) for the following cases:

Linux
wxGTK 2.6.4 unicode, non-unicode
wxGTK 2.8.9 unicode, non-unicode

Windows
wxMSW 2.8.9 unicode, non-unicode on MinGW (and therefor not backend 2)

Mac OS X
wxMac 2.8.9 non-unicode
wxMac 2.8.4 unicode

All worked ok for me. So I decided to turn the wxWidgets driver on by  
default again. This also concludes all my changes I wanted to make  
before the next release.

If someone could test the driver for his/her platform this would be  
great, especially if someone has Mac OS X 10.4 which provides  
wxWidgets 2.5.3 by default - I hope that there it also works well  
(without backend 2).

Regards,
Werner

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to