Solved

Draw pixel

Posted on 2001-06-23
3
866 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now