⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qwtpaintbuffer.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "QwtPaintBuffer" 3 "16 Nov 2004" "Version 4.2.0" "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. .PPDefinition at line 26 of file qwt_paint_buffer.h..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. .PPDefinition at line 17 of file qwt_paint_buffer.cpp..SS "QwtPaintBuffer::QwtPaintBuffer (QPaintDevice * device, const QRect & rect, QPainter * painter = \fCNULL\fP)".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.PPDefinition at line 34 of file qwt_paint_buffer.cpp..PPReferences open()..SS "QwtPaintBuffer::~\fBQwtPaintBuffer\fP ()\fC [virtual]\fP".PPCloses the buffer .PP\fBSee also:\fP.RS 4\fBQwtPaintBuffer::close()\fP .RE.PPDefinition at line 47 of file qwt_paint_buffer.cpp..PPReferences close()..SH "Member Function Documentation".PP .SS "const QPixmap& QwtPaintBuffer::buffer () const".PPReturn Buffer used for double buffering. .PPDefinition at line 44 of file qwt_paint_buffer.h..PPReferenced by QwtPlotCanvas::drawCanvas()..SS "void QwtPaintBuffer::close ()".PPFlush the internal pixmap buffer to the device and close the buffer. Definition at line 178 of file qwt_paint_buffer.cpp..PPReferences flush()..PPReferenced by open(), and ~QwtPaintBuffer()..SS "const QPaintDevice * QwtPaintBuffer::device ()".PP\fBReturns:\fP.RS 4Device to paint on .RE.PPDefinition at line 66 of file qwt_paint_buffer.cpp..PPReferenced by flush()..SS "void QwtPaintBuffer::flush ()\fC [protected]\fP".PPFlush the internal pixmap buffer to the device. Definition at line 151 of file qwt_paint_buffer.cpp..PPReferences device()..PPReferenced by close()..SS "bool QwtPaintBuffer::isEnabled ()\fC [static]\fP".PP\fBReturns:\fP.RS 4TRUE if double buffering is enabled, FALSE otherwise. .RE.PPDefinition at line 84 of file qwt_paint_buffer.cpp..PPReferenced by QwtPlotCanvas::drawCanvas(), and open()..SS "void QwtPaintBuffer::open (QPaintDevice * device, const QRect & rect, QPainter * painter = \fCNULL\fP)".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.PPDefinition at line 97 of file qwt_paint_buffer.cpp..PPReferences close(), and isEnabled()..PPReferenced by QwtPaintBuffer()..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.PPDefinition at line 58 of file qwt_paint_buffer.cpp..PPReferenced by QwtPlotCanvas::drawCanvas(), QwtWheel::paintEvent(), QwtThermo::paintEvent(), QwtSlider::paintEvent(), QwtScale::paintEvent(), QwtKnob::paintEvent(), and QwtDial::paintEvent()..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. Definition at line 76 of file qwt_paint_buffer.cpp..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 + -