Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, May 2007
Bug with QLinearGradient in a QGraphicsScene


Message 1 in thread

The attached code reproduces a bug I've been encountering in my code
when attempting to draw a line in a QGraphicsScene that fades out.  It
draw correctly until I change the scale of the view at which point it
seems that the gradient is being calculated in correctly.  If I zoom
out the line appears more and more solid, while if I zoom in the line
fades out to early.  In the attached code I've made it so the mouse
wheel will zoom in and out.

~Chris

Attachment:

Attachment: GradientBug.cpp
Description: Binary data