UID:93699
UID:7394
引用楼主gueangyik于2010-04-01 17:00发表的 场景跟项 :QGraphicsItem::mapFromScene(0, 0) 这里参数0,0是 场景的坐标 还是项的坐标??.......
QPointF QGraphicsItem::mapFromScene ( const QPointF & point ) constMaps the point point, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped coordinate.
QPointF QGraphicsItem::mapToScene ( const QPointF & point ) constMaps the point point, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped coordinate.