[Kst] Image data type

George Staikos staikos at kde.org
Tue Jul 20 20:18:24 CEST 2004

On Tuesday 20 July 2004 14:00, Rick Chern wrote:
> - images will be plotted on the 2D plot, using colours/shades to represent z

   Hm this interferes with my pixmap memory reduction scheme.  What kind of 
colorspace are we talking about for these?

> - images will be plotted underneath any curves

   What exactly are they for?  (ie, can you give a concrete example of the 
problem this is solving?)  I'm wondering if it makes sense to use a separate 
data object, or perhaps have transparency in data objects to use an illusion 
of them being in the same object.  In particular I'm concerned with 
performance and pixmap pressure.

> Changes I would make:
> - create a KstImage class inheriting from KstDataObject (not KstBaseCurve)

   Good plan.

> - add Image button to the New section of data manager

   If it's part of Kst2DPlot, shouldn't it really be part of the plot dialog 
then?  Effectively it has the same standing as a label or legend at that 

> - make changes to Kst2DPlot to set, remove, and plot the image, if the
> plot has one

    I'm not entirely sure what the purpose of images are so I can't comment 
further here, but I don't see anything particularly wrong with it at the 

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

More information about the Kst mailing list