📄 qwtpaintbuffer.3
字号:
.TH "QwtPaintBuffer" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtPaintBuffer \- .SH SYNOPSIS.br.PP.SH "Detailed Description".PP 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. .PP.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtPaintBuffer\fP ()".br.ti -1c.RI "\fBQwtPaintBuffer\fP (QPaintDevice *, const QRect &, QPainter *p=NULL)".br.ti -1c.RI "virtual \fB~QwtPaintBuffer\fP ()".br.ti -1c.RI "void \fBopen\fP (QPaintDevice *, const QRect &, QPainter *p=NULL)".br.ti -1c.RI "void \fBclose\fP ()".br.ti -1c.RI "QPainter * \fBpainter\fP ()".br.ti -1c.RI "const QPaintDevice * \fBdevice\fP ()".br.ti -1c.RI "const QPixmap & \fBbuffer\fP () const ".br.in -1c.SS "Static Public Member Functions".in +1c.ti -1c.RI "void \fBsetEnabled\fP (bool enable)".br.ti -1c.RI "bool \fBisEnabled\fP ()".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "void \fBflush\fP ()".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtPaintBuffer::QwtPaintBuffer ()".PPDefault constructor. .SS "QwtPaintBuffer::QwtPaintBuffer (QPaintDevice * device, const QRect & rect, QPainter * painter = NULL)".PPCreate an open paint buffer .PP\fBParameters:\fP.RS 4\fIdevice\fP Device to paint on .br\fIrect\fP Rect to paint on .br\fIpainter\fP Painter to paint on device. In case of 0 QwtPaintBuffer uses an internal painter.RE.PP\fBSee also:\fP.RS 4\fBQwtPaintBuffer::open()\fP .RE.PP.SS "QwtPaintBuffer::~\fBQwtPaintBuffer\fP ()\fC [virtual]\fP".PPCloses the buffer .PP\fBSee also:\fP.RS 4\fBQwtPaintBuffer::close()\fP .RE.PP.SH "Member Function Documentation".PP .SS "const QPixmap& QwtPaintBuffer::buffer () const".PPReturn Buffer used for double buffering. .SS "void QwtPaintBuffer::close ()".PPFlush the internal pixmap buffer to the device and close the buffer. .SS "const QPaintDevice * QwtPaintBuffer::device ()".PP\fBReturns:\fP.RS 4Device to paint on .RE.PP.SS "void QwtPaintBuffer::flush ()\fC [protected]\fP".PPFlush the internal pixmap buffer to the device. .SS "bool QwtPaintBuffer::isEnabled ()\fC [static]\fP".PP\fBReturns:\fP.RS 4TRUE if double buffering is enabled, FALSE otherwise. .RE.PP.SS "void QwtPaintBuffer::open (QPaintDevice * device, const QRect & rect, QPainter * painter = NULL)".PPOpen the buffer .PP\fBParameters:\fP.RS 4\fIdevice\fP Device to paint on .br\fIrect\fP Rect to paint on .br\fIpainter\fP Painter to paint on device. In case of 0 QwtPaintBuffer uses an internal painter .RE.PP.SS "QPainter * QwtPaintBuffer::painter ()".PP\fBReturns:\fP.RS 4Depending on \fBisEnabled()\fP the painter connected to an internal pixmap buffer otherwise the painter connected to the device. .RE.PP.SS "void QwtPaintBuffer::setEnabled (bool enable)\fC [static]\fP".PPEnable/Disable double buffering. Please note that this is a global switch for all QwtPaintBuffers, but won't change opened buffers. .SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -