On 06/20/2014 11:57 AM, VStevenP wrote: > I am trying to use QPainterPath to render a graph. I draw an x and a y axis in > blue, then use moveTo and QuadTo to draw a curve which crosses over the x > axis. > What I see is that the quadTo operation erases some of my blue x-axis pixels, > specifically the pixels between the curve and where a straight line between > the > endpoints would connect. > > Am I using QPainterPath wrongly? Is there any way I can do the quadTo() such > that it won't overwrite pixels which are not under the final curve it actually > draws. It's erasing too many pixels. >
Sounds like the system thinks your path is closed and with an active fill brush. But I defer to an expert. > - VStevenP > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest