Solved

Draw pixel

Posted on 2001-06-23
3
865 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
Comment Utility
canvas.pixels[x,y]:=color
0
 
LVL 8

Expert Comment

by:Cesario
Comment Utility
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
Comment Utility
this one was easy....
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

7 Experts available now in Live!

Get 1:1 Help Now