On Wed, 03 Oct 2007 23:06:35 +0100
Dominique Louis <[EMAIL PROTECTED]> wrote:

> Hi Mattias,
>    which build of Lazarus is this available in? Because on the
> version I have, Tbitmaps don't have the scanline property.

The LCL TBitmap has no ScanLine property, because under Delphi its
only purpose is fast direct access and this is not possible under all
LCL platforms.
But there is an alternative, which can be used in most cases.
See lazarus/examples/scanline/.


Mattias


> 
> Dominique.
> 
> Mattias Gaertner wrote:
> > On Tue, 02 Oct 2007 22:32:21 +0100
> > Dominique Louis <[EMAIL PROTECTED]> wrote:
> > 
> >> Will this Scanline code also work on Mac OS X?
> > 
> > intel/32bit: of course.
> > powerpc, intel/64bit: sometimes.
> > It depends, what tricks your code use. The only guaranteed platform
> > independent way are the functions of TCanvas.
> > 
> > Mattias
> > 
> > 
> >> Dominique.
> >>
> >> 12 12 wrote:
> >>>> It means, the function does not work with formats which lines
> >>>> can 
> >>> start
> >>>> in a middle of a byte (e.g. at the third bit).
> >>>> The Delphi ScanLine function has the same limit.
> >>> I didn't know about such formats!
> >>> Which formats can start in a middle of a byte?
> >>>
> >>>
> >>> -- 
> 
> > 
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to