Hello All,
I'm writing a program in which the user selects lots of rectangles. The problem is that when the user clicks the canvas, I'd like to quickly determine which rectangle has been selected. Any ideas as for the algorithm and data structure? TIA
Search found 12 matches
- Tue Sep 12, 2006 9:15 pm
- Forum: Algorithms
- Topic: Which window clicked?
- Replies: 0
- Views: 1163
- Sat Sep 09, 2006 11:37 pm
- Forum: Other words
- Topic: Determine which window was clicked.
- Replies: 0
- Views: 1815
Determine which window was clicked.
Hello All,
I'm writing a program in which the user selects lots of rectangles. The problem is that when the user clicks the canvas, I'd like to quickly determine which rectangle has been selected. Any ideas as for the algorithm and data structure? TIA
I'm writing a program in which the user selects lots of rectangles. The problem is that when the user clicks the canvas, I'd like to quickly determine which rectangle has been selected. Any ideas as for the algorithm and data structure? TIA
- Tue Dec 27, 2005 11:48 am
- Forum: Off topic (General chit-chat)
- Topic: A spam or something?
- Replies: 13
- Views: 6274
- Thu Dec 22, 2005 12:31 am
- Forum: Off topic (General chit-chat)
- Topic: A spam or something?
- Replies: 13
- Views: 6274
- Tue Dec 13, 2005 12:59 am
- Forum: Off topic (General chit-chat)
- Topic: A spam or something?
- Replies: 13
- Views: 6274
A spam or something?
I've recently got those two messages
[quote]
Hello, I
[quote]
Hello, I
- Mon May 09, 2005 4:08 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10103 - Karpovich blocks
- Replies: 21
- Views: 10631
- Thu May 05, 2005 8:38 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10103 - Karpovich blocks
- Replies: 21
- Views: 10631
- Sat Feb 12, 2005 3:53 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10418 - Hyper Toy Soldiers
- Replies: 4
- Views: 3653
- Sat Feb 12, 2005 2:21 pm
- Forum: Algorithms
- Topic: Matching elements of two multisets.
- Replies: 1
- Views: 1152
Matching elements of two multisets.
Hello all, I have an algorithmic problem of making pairs between elements of two multisets (let's call them P and Q) based on a function A: P x Q -> N (N - natural numbers + {0}). Those two multisets are of the same size. Each p must be paired with exactly one q and vice versa. The outcome should be...
- Tue Jan 04, 2005 12:12 am
- Forum: Volume 6 (600-699)
- Topic: 658 - It's not a Bug, it's a Feature!
- Replies: 15
- Views: 10331
- Wed Dec 29, 2004 7:14 pm
- Forum: Volume 6 (600-699)
- Topic: 658 - It's not a Bug, it's a Feature!
- Replies: 15
- Views: 10331
- Wed Dec 29, 2004 3:22 pm
- Forum: Volume 6 (600-699)
- Topic: 658 - It's not a Bug, it's a Feature!
- Replies: 15
- Views: 10331
658 - What's so tricky?
I'm having a real trouble with this problem. My solution is based on Dijkstra's algorithm. I think I've tested it thouroughly, but I always get Wrong Answer after a very short time. Could you please give me some hints or test cases that could be tricky? Here's the prog, for the interested, I've put ...