Re: Working with bitmaps

[email protected] Tue, 11 Feb 2003 10:15:35 -0500
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <3E48CD47.6568.226A7C@localhost>
This is a clue but it is not an answer.

On some code that I am no longer using, it seemed that black was 
equivalent to -$1000000 under Linux if a color was accessed through 
TBitmap.ScanLine but was equivalent to 0 under Windows.  However, if 
you look at the definition of clBlack, it is 0 for both Windows and 
Linux so something strange was going on.  

I am no longer using this code because I ran into too many problems 
with it.  It worked on my system but not on some other peoples 
systems.

On 11 Feb 2003 at 12:05, Alberto Narduzzi wrote:


> still migrating that project from Delphi to Kylix.
> 
> Now I'm facing some differences between the way Delphi (win?) and 
> Kylix 
> (Linux?) deal with BitBlt.
> 
> I had to change a color in the bitmap and then show it with a 
> AND/OR/XOR 
> masking. Well, this is no more working under Kylix, provided I 
> already 
> checked the parameters, for the header of BitBlt has changed under 
> Kylix.
> 
> Any clue?
> 
> TIA
> Batman
> 
> 
> -------------------------------------------------------
> Forum / mailing list for Borland Kylix programmers
> Our web page: http://groups.yahoo.com/group/kylixgroup
> To join the forum: [email protected]
> To unsubscribe: [email protected]
> To post your messages: [email protected]
> To contact the moderator: [email protected]
> -------------------------------------------------------
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[email protected]
http://www.mindspring.com/~rbwinston/rbwinsto.htm
ftp://ftp.mindspring.com/users/rbwinston/incoming


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/i7folB/TM
---------------------------------------------------------------------~->

-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/