the difference of QRectF&QRect

来源:互联网 发布:js视频如何拉动进度条 编辑:程序博客网 时间:2024/06/06 00:55
QRect uses integer precision and QRectF uses floating point precision. In fact, there are several other classes with this similar setup: QLine/QLineF, QPoint/QPointF, etc.
原创粉丝点击