Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralRe: Where to draw? Pin
MasterSharp11-Oct-07 10:53
MasterSharp11-Oct-07 10:53 
GeneralRe: Where to draw? Pin
Christian Graus11-Oct-07 10:55
protectorChristian Graus11-Oct-07 10:55 
AnswerRe: Where to draw? Pin
Giorgi Dalakishvili11-Oct-07 10:51
mentorGiorgi Dalakishvili11-Oct-07 10:51 
AnswerRe: Where to draw? Pin
Pete O'Hanlon11-Oct-07 11:04
mvePete O'Hanlon11-Oct-07 11:04 
QuestionCollision Pin
MasterSharp11-Oct-07 10:10
MasterSharp11-Oct-07 10:10 
AnswerRe: Collision Pin
Christian Graus11-Oct-07 10:34
protectorChristian Graus11-Oct-07 10:34 
GeneralRe: Collision Pin
MasterSharp11-Oct-07 10:54
MasterSharp11-Oct-07 10:54 
GeneralRe: Collision Pin
Christian Graus11-Oct-07 10:58
protectorChristian Graus11-Oct-07 10:58 
It's even easier than I thought:

Rectangle rc1 = new Rectangle(0, 0, 20, 20);
Rectangle rc2 = new Rectangle(19, 21, 5, 5);

if (rc2.IntersectsWith(rc1))
{
// match
}


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Collision Pin
MasterSharp11-Oct-07 11:00
MasterSharp11-Oct-07 11:00 
GeneralRe: Collision Pin
MasterSharp11-Oct-07 11:04
MasterSharp11-Oct-07 11:04 
GeneralRe: Collision Pin
Pete O'Hanlon11-Oct-07 11:05
mvePete O'Hanlon11-Oct-07 11:05 
GeneralRe: Collision Pin
Christian Graus11-Oct-07 11:53
protectorChristian Graus11-Oct-07 11:53 
GeneralRe: Collision Pin
Pete O'Hanlon11-Oct-07 11:58
mvePete O'Hanlon11-Oct-07 11:58 
GeneralRe: Collision Pin
Christian Graus11-Oct-07 12:09
protectorChristian Graus11-Oct-07 12:09 
GeneralRe: Collision Pin
Pete O'Hanlon11-Oct-07 12:15
mvePete O'Hanlon11-Oct-07 12:15 
GeneralRe: Collision Pin
Christian Graus11-Oct-07 12:57
protectorChristian Graus11-Oct-07 12:57 
GeneralRe: Collision Pin
Patrick Etc.11-Oct-07 14:44
Patrick Etc.11-Oct-07 14:44 
GeneralRe: Collision Pin
MasterSharp11-Oct-07 15:33
MasterSharp11-Oct-07 15:33 
GeneralRe: Collision Pin
Pete O'Hanlon11-Oct-07 21:55
mvePete O'Hanlon11-Oct-07 21:55 
AnswerRe: Collision Pin
Matthew Cuba11-Oct-07 14:14
Matthew Cuba11-Oct-07 14:14 
GeneralRe: Collision Pin
MasterSharp11-Oct-07 15:37
MasterSharp11-Oct-07 15:37 
GeneralRe: Collision Pin
MasterSharp11-Oct-07 15:48
MasterSharp11-Oct-07 15:48 
GeneralCare about GDI recourcess Pin
Martin#11-Oct-07 21:57
Martin#11-Oct-07 21:57 
GeneralRe: Care about GDI recourcess Pin
MasterSharp12-Oct-07 2:41
MasterSharp12-Oct-07 2:41 
GeneralRe: Care about GDI recourcess Pin
MasterSharp12-Oct-07 2:51
MasterSharp12-Oct-07 2:51 

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.