Solved

Draw pixel

Posted on 2001-06-23
3
867 Views
Last Modified: 2006-11-17
Hi!
How can I change the color of a single pixel.
0
Comment
Question by:zerotwo
3 Comments
 
LVL 3

Accepted Solution

by:
f15iaf earned 50 total points
ID: 6221690
canvas.pixels[x,y]:=color
0
 
LVL 8

Expert Comment

by:Cesario
ID: 6222594
Hi zerotwo,

Canvas.Pixels is very slow :-)

you can use the API Fuction SetPixel

Example :

 SetPixel( Canvas.Handle,x,y,clBlack );


Best Regards

Cesario
0
 

Author Comment

by:zerotwo
ID: 6228814
this one was easy....
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
build html 5 client that connect to indy Tidtcpserver 3 395
select query - oracle 16 100
Delphi Yen format 3 34
MS Access from Delphi 31 28
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question