ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-dev
scipy-dev
[SciPy-dev] DisplayPDF for Cross-platform GUI Widgets
by M. Evans other posts by this author
Nov 21 2002 8:32AM messages near this date
[SciPy-dev] Re: DisplayPDF for Cross-platform GUI Widgets | Re: [SciPy-dev] DisplayPDF for Cross-platform GUI Widgets
Please correct me if I'm wrong about anything - my understanding of
Chaco is cursory.  (I have read the web pages.)

I wish to present a concept and solicit your opinions.  This is
not a proposal for work under the Scipy banner, though it certainly
could complement the effort.

Chaco is a means to draw resolution-independent plots in "canvas
windows" supplied by wxWindows, Tk, OpenGL, whatever.  It is not a
means to draw user interface widgets.  Those are supplied by the host
library.  Chaco merely renders, from DisplayPDF model data, static
views in "paint windows" supplied by the various libraries.
This is my understanding.

Now the idea:  Use DisplayPDF to create a resolution-independent,
cross-platform device context API in which to draw user widgets
themselves.  The idea resembles Chaco, except that the context also
tracks OS events.  (I assume Chaco doesn't do this without
help from the host library.)

The idea then is to eliminate the host library altogether.
The device context layer serves as the foundation for a truly
remarkable cross-platform GUI library.  Remarkable in that the
widgets are not defined in the traditional pixel-wise manner, but via
scalable, parametric vectors and arcs.  Native look & feel could be
emulated a la Qt,
http://linux.sarang.net/ftp/mirror/development/widget/qt/pdf/qt-whitepaper-v10.pdf

The device context would naturally require ports to different OS APIs.
However, it could instead ride on top of an existing pixel-based context
like SDL or GGI.

I know that Mac OS X utilizes Display PDF so perhaps the device context
for that OS would be very "thin" -- while requiring more work on
Windows and Xlib.

The wxWindows folks are moving to wxUniversal which is akin to this
idea except that (as far as I know) wxUniversal is going to use the
traditional pixel-based definition of widgets.  Instead of defining
widgets as so many centimeters high and various scalability
constraints, they will be so many pixels high.

Comments, opinions?

Mark
Thread:
M. Evans
Prabhu Ramachandran

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved