On Thu, 04 Oct 2007 12:12:29 +0300
Valdas Jankūnas <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner rašė:
> > 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
Mattias Gaertner rašė:
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/.
In file "unit.pas" of that
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
Hi Mattias,
which build of Lazarus is this available in? Because on the version I
have, Tbitmaps don't have the scanline property.
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
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.
Will this Scanline code also work on Mac OS X?
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
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?
--
12 12 aka skywriter
___
On Sun, 30 Sep 2007 08:54:14 +0400
12 12 <[EMAIL PROTECTED]> wrote:
> Subj. It tells:
>
> Unit1.pas(80,17) Error: identifier idents no member
> "Set_BPP32_B8G8R8_A1_BIO_TTB"
> Unit1.pas(80,44) Error: Illegal expression
> Unit1.pas(80,44) Fatal: Syntax error, ";" expected but "(" found
>
> This
Subj. It tells:
Unit1.pas(80,17) Error: identifier idents no member
"Set_BPP32_B8G8R8_A1_BIO_TTB"
Unit1.pas(80,44) Error: Illegal expression
Unit1.pas(80,44) Fatal: Syntax error, ";" expected but "(" found
This function is undocumented in help so it is not obvious how to
replaced it.
And wha