🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.borland-delphi
Article #645

Re: Canvas.Point Problems...

#645
From: Michael Jervis
Date: Wed, 05 Jan 2000 00:00
25 lines
1564 bytes
i meant Pixels[x,y]

getting confused with VB and delphi!


> theColour := Template.Canvas.Pixels[maxx, maxy];
>
> theColour is a Tcolor, and seems to get set fine. Template is another
> TBitmap, and loads from the file.
>
> Then I do:
> For x:=0 to 54 do begin
>   For y:=0 to 22 do begin
>     If Template.Canvas.Pixels[x, y]<> theColour then
>      DestImage.Canvas.Pixels[x, y]:= Template.Canvas.Pixels[x,y]>   end;
> end;

--
Michael Jervis:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Internet Developer Morse Hughes Rae
mjervis@hughesrae.co.uk
Hughes Rae: http://www.hughesrae.co.uk
Morse: http://www.morse.co.uk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <387383de.0@news.myratech.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3871bc45.0@news.myratech.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd817,761ad309370abca6
X-Google-Attributes: gidfd817,public
X-Google-Thread: 10a296,761ad309370abca6
X-Google-Attributes: gid10a296,public
X-Google-Thread: f894d,761ad309370abca6
X-Google-Attributes: gidf894d,public
X-Google-Thread: 105ac8,761ad309370abca6
X-Google-Attributes: gid105ac8,public
From: "Michael Jervis" <m.jervis@hughesrae.co.uk>
Subject: Re: Canvas.Point Problems...
Date: 2000/01/05
Message-ID: <387383de.0@news.myratech.net>
X-Deja-AN: 568716815
References: <3871bc45.0@news.myratech.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Morse Hughes Rae
X-MSMail-Priority: Normal
Reply-To: "Michael Jervis" <m.jervis@hughesrae.co.uk>
Newsgroups: alt.comp.borland-delphi,alt.comp.lang.borland-delphi,borland.public.delphi,borland.public.delphi.graphics