[Qtce-preview-feedback] QPainter drawPoint issue

George H. Locktish ghlocktish at praxiseng.com
Fri May 30 19:02:24 CEST 2008


I am drawing points on the screen, and what I am noticing is that
sometimes the points are displayed and sometimes they aren't.

 

Here is the call stack of an attempt to display a point:

 

      QPainterPath::isEmpty(void) Line: 336

      QRasterPaintEngine::drawPath(QPainterPath& path = {...}) Line:
1712

      QRasterPaintEngine::drawPoints(QPointF* points = 0x20ba2e34, int
pointCount = 1) Line: 3148

      QPaintEngine::drawPoints(QPoint* points = 0x20ba36d0, int
pointCount = 1) Line: 426,

      QPainter::drawPoints(QPoint* points = 0x20ba36d0, int pointCount =
1) Line: 3103

      QPainter::drawPoint(int x = 190, int y = 133) Line: 593

 

I believe the issue is that when drawPath is called on
QRasterPaintEngine, the isEmpty call on line 1712 is returning true.
For the points that are being displayed, the isEmpty call is returning
false.

 

I am using Qt 4.4.0 on Windows Mobile 5.0.

 

Best regards,

George

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qtce-preview-feedback/attachments/20080530/f4302cff/attachment.html 


More information about the Qtce-preview-feedback mailing list