void QwtPlotCurveAnteo
::fillCurve(QPainter *painter,
{
painter->save();
painter->setClipRect(xMap.transform(baseline()),0,100,1000,
Qt::ReplaceClip);
QwtPlotCurve::fillCurve(painter, xMap, yMap, canvasRect, polygon
);
painter->setClipRect(xMap.transform(baseline()),0,100,1000,
Qt::NoClip);
painter->restore();
return;
}
void QwtPlotCurveAnteo::fillCurve(QPainter *painter,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRectF & canvasRect,
QPolygonF & polygon) const
{
painter->save();
painter->setClipRect(xMap.transform(baseline()),0,100,1000,
Qt::ReplaceClip);
QwtPlotCurve::fillCurve(painter, xMap, yMap, canvasRect, polygon);
painter->setClipRect(xMap.transform(baseline()),0,100,1000,
Qt::NoClip);
painter->restore();
return;
}
To copy to clipboard, switch view to plain text mode
Bookmarks