Re: canvas overlapping bug?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: canvas overlapping bug?

From: Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Date: Thu Dec 01 2005 - 11:49:41 CET

Aleks <vuje@ifg.uni-hannover.de> wrote:
>> I can't tell if this can be seen as a bug or not.

> I'd say it's bug. If you query the coords of an object and use the
> result to look what's overlapping it you should find the object.

Generally yes. The vanishingly small oval might be a
legal exception, since it is only outlined, not filled.
(a filled oval *is* found by its coords)

> It is also not consistent with other items. I've tested arc, line and
> rectangle items with 1px which all are found.

Depending on the item type there may be documented
exceptions (points that are defined to be *not* part of
the item), that can lead to unexpected effects on very
small items.

For your problem: just use a filled oval, and it should
work as you intended.
Received on Sat Dec 3 03:28:37 2005