[Qt-interest] hot spot

Daniel Vérité daniel.verite at gmail.com
Sun Dec 28 20:03:34 CET 2008


	 ami guru writes

> Returns the position of the hot spot relative to the top-left corner 
of the
> cursor
> "
> 
> What does that hot spot mean ?

Since the mouse cursor is not a point, but a set of pixels inside a 
rectangle, in order to express its position as if it were a point, one 
particular pixel inside the rectangle is assigned to represent that 
point. That pixel is the hot spot.
For example when the mouse cursor looks like a cross, the hot spot is 
typically at the center of the cross, whereas for an arrow, it will be 
at the tip of the arrow.

Best regards,
-- 
 Daniel
 PostgreSQL-powered mail user agent and storage: 
http://www.manitou-mail.org 



More information about the Qt-interest-old mailing list