I have just finished implementing native gradients for the remaining
qt devices (revision 10675).

The whole exercise was my first really positive experience with C++. For
example, I feel I am finally beginning to understand OOP (especially
inheritance) after years of avoiding thinking about it.

Of course, I am still just a C++ newbie so I would appreciate review of my
recent commits to qt.h, plqt.cpp, and qt.cpp to see if there are slicker
ways to get the job done or obvious memory leak issues that need to be
addressed.  However, native gradients do seem to be working now for qt
raster devices, svgqt, epsqt/pdfqt, and qtwidget. I don't have a test for
extqt, but QtExtWidget (the class associated with extqt) inherits from
QtPLWidget (the class associated with the tested qtwidget case) so I believe
it should be fine.

valgrind checks on all classes of qt devices show no memory management
issues.  valgrind does report memory leak issues (one of my motivations for
requesting review of my commits), but those memory leaks might be associated
with the Qt-4.6.0 libraries rather than our own code since even with
"valgrind --leak-check=full --num-callers=40" it is difficult to pin down
the sources of the memory leaks.

Next up; dive back into C again, and implement native gradients for
the cairo devices.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to