Section: Qwt User's Guide (3)Updated: 16 Nov 2004Local indexUp
NAME
QwtPaintBuffer -
SYNOPSIS
Detailed Description
Paint buffer for Qwt widgets.
QwtPaintBuffer offers a simple way to en/disable double buffering. Double buffering is enabled as default and in general there will be no reason to change this.
device Device to paint on
rect Rect to paint on
painter Painter to paint on device. In case of 0 QwtPaintBuffer uses an internal painter
Definition at line 97 of file qwt_paint_buffer.cpp.
References close(), and isEnabled().
Referenced by QwtPaintBuffer().
QPainter * QwtPaintBuffer::painter ()
Returns:
Depending on isEnabled() the painter connected to an internal pixmap buffer otherwise the painter connected to the device.
Definition at line 58 of file qwt_paint_buffer.cpp.
Referenced by QwtPlotCanvas::drawCanvas(), QwtWheel::paintEvent(), QwtThermo::paintEvent(), QwtSlider::paintEvent(), QwtScale::paintEvent(), QwtKnob::paintEvent(), and QwtDial::paintEvent().
Enable/Disable double buffering. Please note that this is a global switch for all QwtPaintBuffers, but won't change opened buffers. Definition at line 76 of file qwt_paint_buffer.cpp.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.