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

C#

 
GeneralRe: boo gat Pin
Alaric_26-May-10 4:58
professionalAlaric_26-May-10 4:58 
QuestionC# Image hot spots? Pin
Jacob Dixon26-May-10 4:08
Jacob Dixon26-May-10 4:08 
AnswerRe: C# Image hot spots? Pin
Henry Minute26-May-10 4:31
Henry Minute26-May-10 4:31 
AnswerRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 4:32
sitebuilderLuc Pattyn26-May-10 4:32 
GeneralRe: C# Image hot spots? [modified] Pin
Jacob Dixon26-May-10 4:40
Jacob Dixon26-May-10 4:40 
GeneralRe: C# Image hot spots? Pin
Luc Pattyn26-May-10 4:47
sitebuilderLuc Pattyn26-May-10 4:47 
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 
Since he would have to create the shadow image anyway, and this is in human time rather than real time (being a response to a mouse action), I would maintain each room as a Region, and do the hit test on that - it is probably easier to read IMO! Laugh | :laugh:
foreach (Region r in myRooms)
   {
   if (r.IsVisible(pt))
      {
      ...
      }
   }

Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.

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 
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 

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.