chm wrote:
> I've been reviewing some of the driver codes in
> preparation for developing an OpenGL based PLplot
> driver.  In working through qt.cpp, I was unable
> to find where the handler is created, i.e., from
> line 39:
> 
>    extern MasterHandler handler;
> 
> I haven't done much C++ coding so expert nuances
> are sure to be missed.

Driver specific initialization is done by the function plD_init_XXX, so 
I believe that this handler is probably created there.

The Qt devices are particularly complicated because the code is spread 
across several files:

include/qt.h
drivers/qt.cpp
bindings/qt_gui/plqt.cpp

Simpler drivers, which might provide a better starting point are ps.c, 
svg.c and xwin.c.

-Hazen


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to