On Wed, 27 May 2009, Felipe Monteiro de Carvalho wrote:
On Wed, May 27, 2009 at 10:53 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
All correct, and currently we have support in FPC for raster images.
My proposal is to add your code to FPC so we also support vector
graphics: FCL-image seems like the appropriate place for this.
I see, but are you proposing to add my units to fcl-image as they are
(which would mean separate classes for raster images and vector
images) or try to have a multi-concept class? Just trying to
understand, I would prefer to keep things separate.
Of course, separate classes; I don't think it is very realistic
to have a single concept for both.
What could be added later on is a class that does the drawing of
the vector graphics on a TFPCustomCanvas, and can then be used
to create a bitmap with the TFPBitmapCanvas descendent or
on a window - since the LCL TCanvas is a descendent of
TFPCustomCanvas anyway.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal