Click here to Skip to main content
15,892,575 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 4:48
Jacob Dixon26-May-10 4:48 
GeneralRe: C# Image hot spots? Pin
OriginalGriff26-May-10 5:10
mveOriginalGriff26-May-10 5:10 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 5:31
sitebuilderLuc Pattyn26-May-10 5:31 
GeneralRe: C# Image hot spots? Pin
OriginalGriff26-May-10 5:36
mveOriginalGriff26-May-10 5:36 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 5:51
sitebuilderLuc Pattyn26-May-10 5:51 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 8:29
Jacob Dixon26-May-10 8:29 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 5:06
Jacob Dixon26-May-10 5:06 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 5:27
sitebuilderLuc Pattyn26-May-10 5:27 
Lets assume you have lots of rooms, and/or strangely shaped ones. So a shadow image is the recommended way.

There are two ways to get one:

1.
by hand, which means someone uses paper and pencil, or Photoshop, or whatever he feels comfortable with; what is required is the outline of the separate rooms, then each outline filled by a distinct solid color
(you could use red, green, blue, yellow, etc rather than RGB(1,0,0), RGB(2,0,0), ... as these cannot be told apart by the human eye.

2.
from digital data, which you obtain by looking at the real image, measuring relevant points, etc (maybe using a digitizer); and then you store them in a data structure describing your rooms; then a piece of code creating the shadow image. Of course, if you have the digital data you can always argue you don't need the shadow image any more, as drawing it and hit-identifying it aren't very much different.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 6:21
Jacob Dixon26-May-10 6:21 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 6:42
sitebuilderLuc Pattyn26-May-10 6:42 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 6:52
Jacob Dixon26-May-10 6:52 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 7:39
sitebuilderLuc Pattyn26-May-10 7:39 
GeneralRe: C# Image hot spots? Pin
DaveyM6926-May-10 7:49
professionalDaveyM6926-May-10 7:49 
GeneralRe: C# Image hot spots? [modified] Pin
Luc Pattyn26-May-10 7:58
sitebuilderLuc Pattyn26-May-10 7:58 
GeneralRe: C# Image hot spots? Pin
DaveyM6926-May-10 13:07
professionalDaveyM6926-May-10 13:07 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 13:33
sitebuilderLuc Pattyn26-May-10 13:33 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 8:02
Jacob Dixon26-May-10 8:02 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 8:17
sitebuilderLuc Pattyn26-May-10 8:17 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 8:27
Jacob Dixon26-May-10 8:27 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 8:38
sitebuilderLuc Pattyn26-May-10 8:38 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 10:41
Jacob Dixon26-May-10 10:41 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 10:51
sitebuilderLuc Pattyn26-May-10 10:51 
GeneralRe: C# Image hot spots? Pin
Jacob Dixon26-May-10 11:11
Jacob Dixon26-May-10 11:11 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 11:51
sitebuilderLuc Pattyn26-May-10 11:51 
Questionread from serial port Pin
genieabdo26-May-10 3:41
genieabdo26-May-10 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.