On Wed, 24 Aug 2005 09:15:26 +1000
Mat Ballard <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote:
>
> > ...
> >
> >>I have written a graphics app (in D3 for display/render design) that
> >>heavily depends on large bitmaps.
> >>...
> >>
> >>Anybody doing graphics out there?
> >>
> >>
> i have a very serious graphs app, or set of apps, and am watching
> progress of Lazarus very closely. in the long run, i will need to go to
> 64 bit. however, for speed reasons, it makes major use of
> TBitmap.Scanline - so i face a very major porting problem unless and
> until this is implemented.
Well, we can implement TBitmap.ScanLine by automatically creating a
TLazIntfImage. Of course this needs some bookkeeping to reduce the update
between the TLazIntfImage and the Handle.
Delphi code accessing this ScanLine will probably work with only a few
changes under windows and maybe a few Linux Desktops.
Would that be sufficient for you?
Of course to get the grade 'runs on Lazarus' you have to enhance the Delphi
code for the full TRawImage properties and in the end you will probably
using TLazIntfImage.Pixels. And of course your code can not be used easily
by fpImage in server applications.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives