Shahab: Reading Pixels
Shahab-o-ddin Mokhtari <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Hi Try Using Canvas.Pixels [x,y] to get the pixel color. Bye Shahab :) ----------------- Steve Speight <[email protected]> wrote: I'm not sure I'm going about this the right way but... I have a TImage component loaded with a map of Europe. Each country is coloured differently. When the user clicks on the map I want to read what country they are clicking on. I assume the easiest way to do this is to read the pixel colour. If that's right how do I do it? Or is there a better way? Steve [Non-text portions of this message have been removed] Yahoo! Groups SponsorADVERTISEMENT CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Sincerely Yours Shahab-o-ddin Mokhtari [http://Ceramic81.150m.com] [[email protected]] [http://ShahabM.8m.com] --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/