📄 qwtdoublesize.3
字号:
.TH "QwtDoubleSize" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtDoubleSize \- .SH SYNOPSIS.br.PP.SH "Detailed Description".PP The QwtDoubleSize class defines a size in double coordinates .PPDefinition at line 62 of file qwt_double_rect.h..SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtDoubleSize\fP ()".br.ti -1c.RI "\fBQwtDoubleSize\fP (double width, double height)".br.ti -1c.RI "\fBQwtDoubleSize\fP (const QSize &)".br.ti -1c.RI "bool \fBisNull\fP () const".br.ti -1c.RI "bool \fBisEmpty\fP () const".br.ti -1c.RI "bool \fBisValid\fP () const".br.ti -1c.RI "double \fBwidth\fP () const".br.ti -1c.RI "double \fBheight\fP () const".br.ti -1c.RI "void \fBsetWidth\fP (double w)".br.ti -1c.RI "void \fBsetHeight\fP (double h)".br.ti -1c.RI "void \fBtranspose\fP ()".br.ti -1c.RI "\fBQwtDoubleSize\fP \fBexpandedTo\fP (const \fBQwtDoubleSize\fP &) const".br.ti -1c.RI "\fBQwtDoubleSize\fP \fBboundedTo\fP (const \fBQwtDoubleSize\fP &) const".br.ti -1c.RI "double & \fBrwidth\fP ()".br.ti -1c.RI "double & \fBrheight\fP ()".br.ti -1c.RI "bool \fBoperator==\fP (const \fBQwtDoubleSize\fP &) const".br.ti -1c.RI "bool \fBoperator!=\fP (const \fBQwtDoubleSize\fP &) const".br.ti -1c.RI "const \fBQwtDoubleSize\fP \fBoperator-\fP () const".br.ti -1c.RI "const \fBQwtDoubleSize\fP \fBoperator+\fP (const \fBQwtDoubleSize\fP &) const".br.ti -1c.RI "const \fBQwtDoubleSize\fP \fBoperator-\fP (const \fBQwtDoubleSize\fP &) const".br.ti -1c.RI "const \fBQwtDoubleSize\fP \fBoperator *\fP (double) const".br.ti -1c.RI "const \fBQwtDoubleSize\fP \fBoperator/\fP (double) const".br.ti -1c.RI "\fBQwtDoubleSize\fP & \fBoperator+=\fP (const \fBQwtDoubleSize\fP &)".br.ti -1c.RI "\fBQwtDoubleSize\fP & \fBoperator-=\fP (const \fBQwtDoubleSize\fP &)".br.ti -1c.RI "\fBQwtDoubleSize\fP & \fBoperator *=\fP (double c)".br.ti -1c.RI "\fBQwtDoubleSize\fP & \fBoperator/=\fP (double c)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtDoubleSize::QwtDoubleSize ()".PPConstructs a size with a width and height of 0.0. .PPDefinition at line 131 of file qwt_double_rect.cpp..PPReferenced by boundedTo(), expandedTo(), operator *(), operator+(), operator-(), and operator/()..SS "QwtDoubleSize::QwtDoubleSize (double width, double height)".PPConstructs a size with a width w and height h. .PPDefinition at line 139 of file qwt_double_rect.cpp..SS "QwtDoubleSize::QwtDoubleSize (const QSize &)".PPCopy constructor. .PPDefinition at line 147 of file qwt_double_rect.cpp..SH "Member Function Documentation".PP .SS "\fBQwtDoubleSize\fP QwtDoubleSize::boundedTo (const \fBQwtDoubleSize\fP & other) const".PPReturns a size with the minimum width and height of this size and other. Definition at line 181 of file qwt_double_rect.cpp..PPReferences d_height, d_width, and QwtDoubleSize()..SS "\fBQwtDoubleSize\fP QwtDoubleSize::expandedTo (const \fBQwtDoubleSize\fP & other) const".PPReturns a size with the maximum width and height of this size and other. Definition at line 167 of file qwt_double_rect.cpp..PPReferences d_height, d_width, and QwtDoubleSize()..PPReferenced by QwtPlotZoomer::end()..SS "double QwtDoubleSize::height () const".PPReturns the height. .PPDefinition at line 256 of file qwt_double_rect.h..PPReferenced by QwtPlotZoomer::begin(), and QwtDoubleRect::setSize()..SS "bool QwtDoubleSize::isEmpty () const".PPReturns TRUE if the width is <= 0 or the height is <= 0, otherwise FALSE. Definition at line 235 of file qwt_double_rect.h..SS "bool QwtDoubleSize::isNull () const".PPReturns TRUE if the width is 0 and the height is 0; otherwise returns FALSE. Definition at line 226 of file qwt_double_rect.h..SS "bool QwtDoubleSize::isValid () const".PPReturns TRUE if the width is equal to or greater than 0 and the height is equal to or greater than 0; otherwise returns FALSE. Definition at line 244 of file qwt_double_rect.h..PPReferenced by QwtPlotZoomer::begin()..SS "const \fBQwtDoubleSize\fP QwtDoubleSize::operator * (double) const".PPReturns the size formed by multiplying both components by c. .PPDefinition at line 240 of file qwt_double_rect.cpp..PPReferences QwtDoubleSize()..SS "bool QwtDoubleSize::operator!= (const \fBQwtDoubleSize\fP &) const".PPReturns TRUE if the size is not equal to other; otherwise returns FALSE. .PPDefinition at line 199 of file qwt_double_rect.cpp..PPReferences operator==()..SS "const \fBQwtDoubleSize\fP QwtDoubleSize::operator+ (const \fBQwtDoubleSize\fP & other) const".PPReturns the size formed by adding both components by the components of other. Each component is added separately. Definition at line 219 of file qwt_double_rect.cpp..PPReferences d_height, d_width, and QwtDoubleSize()..SS "\fBQwtDoubleSize\fP & QwtDoubleSize::operator+= (const \fBQwtDoubleSize\fP &)".PPAdds size other to this size and returns a reference to this size. .PPDefinition at line 254 of file qwt_double_rect.cpp..PPReferences d_height, and d_width..SS "const \fBQwtDoubleSize\fP QwtDoubleSize::operator- (const \fBQwtDoubleSize\fP & other) const".PPReturns the size formed by subtracting both components by the components of other. Each component is subtracted separately. Definition at line 231 of file qwt_double_rect.cpp..PPReferences d_height, d_width, and QwtDoubleSize()..SS "const \fBQwtDoubleSize\fP QwtDoubleSize::operator- () const".PPReturns the size formed by changing the sign of both components, equivalent to QwtDoubleSize(-width(), -height()); Definition at line 209 of file qwt_double_rect.cpp..PPReferences QwtDoubleSize()..SS "\fBQwtDoubleSize\fP & QwtDoubleSize::operator-= (const \fBQwtDoubleSize\fP &)".PPSubtracts size other from this size and returns a reference to this size. .PPDefinition at line 263 of file qwt_double_rect.cpp..PPReferences d_height, and d_width..SS "const \fBQwtDoubleSize\fP QwtDoubleSize::operator/ (double) const".PPReturns the size formed by dividing both components by c. .PPDefinition at line 247 of file qwt_double_rect.cpp..PPReferences QwtDoubleSize()..SS "bool QwtDoubleSize::operator== (const \fBQwtDoubleSize\fP &) const".PPReturns TRUE if the size is equal to other; otherwise returns FALSE. .PPDefinition at line 192 of file qwt_double_rect.cpp..PPReferences d_height, and d_width..PPReferenced by operator!=()..SS "double & QwtDoubleSize::rheight ()".PPReturns a reference to the height. .PPDefinition at line 280 of file qwt_double_rect.h..SS "double & QwtDoubleSize::rwidth ()".PPReturns a reference to the width. .PPDefinition at line 274 of file qwt_double_rect.h..SS "void QwtDoubleSize::setHeight (double h)".PPSets the height to height. .PPDefinition at line 268 of file qwt_double_rect.h..SS "void QwtDoubleSize::setWidth (double w)".PPSets the width to width. .PPDefinition at line 262 of file qwt_double_rect.h..SS "void QwtDoubleSize::transpose ()".PPSwaps the values of width and height. .PPDefinition at line 155 of file qwt_double_rect.cpp..SS "double QwtDoubleSize::width () const".PPReturns the width. .PPDefinition at line 250 of file qwt_double_rect.h..PPReferenced by QwtPlotZoomer::begin(), and QwtDoubleRect::setSize()..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 + -