• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 879
  • Last Modified:

Draw pixel

Hi!
How can I change the color of a single pixel.
0
zerotwo
Asked:
zerotwo
1 Solution
 
f15iafCommented:
canvas.pixels[x,y]:=color
0
 
CesarioCommented:
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
 
zerotwoAuthor Commented:
this one was easy....
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now