亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? qpoint.cpp

?? QT 開發環境里面一個很重要的文件
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the QtCore module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#include "qpoint.h"#include "qdatastream.h"#include "qdebug.h"/*!    \class QPoint    \ingroup multimedia    \brief The QPoint class defines a point in the plane using integer    precision.    A point is specified by a x coordinate and an y coordinate which    can be accessed using the x() and y() functions. The isNull()    function returns true if both x and y are set to 0. The    coordinates can be set (or altered) using the setX() and setY()    functions, or alternatively the rx() and ry() functions which    return references to the coordinates (allowing direct    manipulation).    Given a point \e p, the following statements are all equivalent:    \code        QPoint p;        p.setX(p.x() + 1);        p += QPoint(1, 0);        p.rx()++;    \endcode    A QPoint object can also be used as a vector: Addition and    subtraction are defined as for vectors (each component is added    separately). A QPoint object can also be divided or multiplied by    an \c int or a \c qreal.    In addition, the QPoint class provides the manhattanLength()    function which gives an inexpensive approximation of the length of    the QPoint object interpreted as a vector. Finally, QPoint objects    can be streamed as well as compared.    \sa QPointF, QPolygon*//*****************************************************************************  QPoint member functions *****************************************************************************//*!    \fn QPoint::QPoint()    Constructs a null point, i.e. with coordinates (0, 0)    \sa isNull()*//*!    \fn QPoint::QPoint(int x, int y)    Constructs a point with the given coordinates (\a x, \a  y).    \sa setX(), setY()*//*!    \fn bool QPoint::isNull() const    Returns true if both the x and y coordinates are set to 0,    otherwise returns false.*//*!    \fn int QPoint::x() const    Returns the x coordinate of this point.    \sa setX(), rx()*//*!    \fn int QPoint::y() const    Returns the y coordinate of this point.    \sa setY(), ry()*//*!    \fn void QPoint::setX(int x)    Sets the x coordinate of this point to the given \a x coordinate.    \sa x() setY()*//*!    \fn void QPoint::setY(int y)    Sets the y coordinate of this point to the given \a y coordinate.    \sa y() setX()*//*!    \fn int &QPoint::rx()    Returns a reference to the x coordinate of this point.    Using a reference makes it possible to directly manipulate x. For example:    \code        QPoint p(1, 2);        p.rx()--;   // p becomes (0, 2)    \endcode    \sa x() setX()*//*!    \fn int &QPoint::ry()    Returns a reference to the y coordinate of this point.    Using a reference makes it possible to directly manipulate y. For    example:    \code        QPoint p(1, 2);        p.ry()++;   // p becomes (1, 3)    \endcode    \sa y(), setY()*//*!    \fn QPoint &QPoint::operator+=(const QPoint &point)    Adds the given \a point to this point and returns a reference to    this point. For example:    \code        QPoint p( 3, 7);        QPoint q(-1, 4);        p += q;    // p becomes (2, 11)    \endcode    \sa operator-=()*//*!    \fn QPoint &QPoint::operator-=(const QPoint &point)    Subtracts the given \a point from this point and returns a    reference to this point. For example:    \code        QPoint p( 3, 7);        QPoint q(-1, 4);        p -= q;    // p becomes (4, 3)    \endcode    \sa operator+=()*//*!    \fn QPoint &QPoint::operator*=(qreal factor)    Multiplies this point's coordinates by the given \a factor, and    returns a reference to this point. For example:    \code        QPoint p(-1, 4);        p *= 2.5;    // p becomes (-3, 10)    \endcode    Note that the result is rounded to the nearest integer as points are held as    integers. Use QPointF for floating point accuracy.    \sa operator/=()*//*!    \fn bool operator==(const QPoint &p1, const QPoint &p2)    \relates QPoint    Returns true if \a p1 and \a p2 are equal; otherwise returns    false.*//*!    \fn bool operator!=(const QPoint &p1, const QPoint &p2)    \relates QPoint    Returns true if \a p1 and \a p2 are not equal; otherwise returns false.*//*!    \fn const QPoint operator+(const QPoint &p1, const QPoint &p2)    \relates QPoint    Returns a QPoint object that is the sum of the given points, \a p1    and \a p2; each component is added separately.    \sa QPoint::operator+=()*//*!    \fn const QPoint operator-(const QPoint &p1, const QPoint &p2)    \relates QPoint    Returns a QPoint object that is formed by subtracting \a p2 from    \a p1; each component is subtracted separately.    \sa QPoint::operator-=()*//*!    \fn const QPoint operator*(const QPoint &point, qreal factor)    \relates QPoint    Returns a copy of the given \a point multiplied by the given \a factor.    Note that the result is rounded to the nearest integer as points    are held as integers. Use QPointF for floating point accuracy.    \sa QPoint::operator*=()*//*!    \fn const QPoint operator*(qreal factor, const QPoint &point)    \overload    \relates QPoint    Returns a copy of the given \a point multiplied by the given \a factor.*//*!    \fn const QPoint operator-(const QPoint &point)    \overload    \relates QPoint    Returns a QPoint object that is formed by changing the sign of    both components of the given \a point.    Equivalent to \c{QPoint(0,0) - point}.*//*!    \fn QPoint &QPoint::operator/=(qreal divisor)    \overload    Divides both x and y by the given \a divisor, and returns a reference to this    point. For example:    \code        QPoint p(-3, 10);        p /= 2.5;           // p becomes (-1, 4)    \endcode    Note that the result is rounded to the nearest integer as points are held as    integers. Use QPointF for floating point accuracy.    \sa operator*=()*//*!    \fn const QPoint operator/(const QPoint &point, qreal divisor)    \relates QPoint    Returns the QPoint formed by dividing both components of the given \a point    by the given \a divisor.    Note that the result is rounded to the nearest integer as points are held as    integers. Use QPointF for floating point accuracy.    \sa QPoint::operator/=()*//*****************************************************************************  QPoint stream functions *****************************************************************************/#ifndef QT_NO_DATASTREAM/*!    \fn QDataStream &operator<<(QDataStream &stream, const QPoint &point)    \relates QPoint    Writes the given \a point to the given \a stream and returns a    reference to the stream.    \sa {Format of the QDataStream Operators}*/QDataStream &operator<<(QDataStream &s, const QPoint &p){    if (s.version() == 1)        s << (qint16)p.x() << (qint16)p.y();    else        s << (qint32)p.x() << (qint32)p.y();    return s;}/*!    \fn QDataStream &operator>>(QDataStream &stream, QPoint &point)    \relates QPoint    Reads a point from the given \a stream into the given \a point    and returns a reference to the stream.    \sa {Format of the QDataStream Operators}*/QDataStream &operator>>(QDataStream &s, QPoint &p){    if (s.version() == 1) {        qint16 x, y;        s >> x;  p.rx() = x;        s >> y;  p.ry() = y;    }    else {        qint32 x, y;        s >> x;  p.rx() = x;        s >> y;  p.ry() = y;    }    return s;}#endif // QT_NO_DATASTREAM/*!

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品电影一区二区三区| 久久精品水蜜桃av综合天堂| 天天综合网 天天综合色| 欧美手机在线视频| 日本va欧美va欧美va精品| 欧美大片一区二区三区| 国产精品影视在线观看| 国产精品成人一区二区艾草 | 国产成人免费视频网站高清观看视频| 精品国产91九色蝌蚪| 国产成人综合自拍| 国产精品福利一区二区三区| 欧洲av一区二区嗯嗯嗯啊| 日韩成人午夜电影| 国产婷婷色一区二区三区在线| www.亚洲色图| 日日欢夜夜爽一区| 国产欧美日韩另类一区| 在线观看视频欧美| 久久狠狠亚洲综合| 日韩美女久久久| 日韩欧美一区二区在线视频| 成人涩涩免费视频| 日韩中文字幕91| 国产精品美女久久久久久2018| 国产欧美一区二区三区网站| 91免费国产视频网站| 蜜桃久久精品一区二区| 亚洲三级在线免费| 日韩精品一区在线观看| 色综合天天综合网天天狠天天| 亚洲第一主播视频| 久久久久久久久久久电影| 在线免费观看成人短视频| 久久精品国产亚洲高清剧情介绍| 成人欧美一区二区三区黑人麻豆| 欧美浪妇xxxx高跟鞋交| av中文一区二区三区| 免费在线观看日韩欧美| 亚洲靠逼com| 国产欧美日韩精品a在线观看| 欧美亚洲动漫精品| 9l国产精品久久久久麻豆| 久久99在线观看| 亚洲成人激情综合网| 国产精品国产自产拍高清av王其| 日韩午夜三级在线| 欧美日韩国产bt| 99精品国产视频| 国产精品一区二区x88av| 日韩国产欧美视频| 香蕉加勒比综合久久| 18成人在线观看| 欧美极品另类videosde| 精品国产免费一区二区三区香蕉| 欧美男女性生活在线直播观看| 91小视频在线免费看| 成人免费看片app下载| 国产一区二区伦理片| 美国三级日本三级久久99| 香蕉影视欧美成人| 亚洲国产欧美另类丝袜| 亚洲卡通动漫在线| 国产精品毛片大码女人| 亚洲国产高清aⅴ视频| 精品国产一区a| 日韩欧美专区在线| 日韩一区二区免费电影| 欧美一级片在线看| 91精品国产色综合久久ai换脸| 欧美美女网站色| 欧美精品一卡两卡| 91精品国产91久久综合桃花| 7777精品伊人久久久大香线蕉| 欧美色视频一区| 欧美精品一级二级| 在线电影国产精品| 日韩精品综合一本久道在线视频| 日韩一区二区精品葵司在线| 欧美一区二区黄色| 日韩欧美色综合网站| 欧美精品一区二区高清在线观看| 久久一二三国产| 国产三级一区二区三区| 中文成人av在线| 亚洲精品成人悠悠色影视| 亚洲午夜视频在线| 麻豆91在线观看| 精品一区二区三区免费观看| 国产成人综合视频| av爱爱亚洲一区| 欧美视频一区二区在线观看| 欧美久久一区二区| 久久网这里都是精品| 国产精品久久久久7777按摩| 亚洲综合网站在线观看| 天堂成人国产精品一区| 九色综合狠狠综合久久| 国产成人自拍网| 色天天综合色天天久久| 91麻豆精品久久久久蜜臀 | 日韩免费电影一区| 国产婷婷一区二区| 一区二区三区中文在线| 免费高清在线一区| 丁香亚洲综合激情啪啪综合| 在线观看亚洲一区| 欧美电影免费观看高清完整版在线观看| 精品国产精品一区二区夜夜嗨| 中文字幕欧美区| 午夜欧美电影在线观看| 国产精品99久| 欧美日韩在线观看一区二区 | 一本色道久久加勒比精品| 欧美精品一级二级三级| 欧美国产精品久久| 丝袜a∨在线一区二区三区不卡| 国产成a人亚洲| 欧美裸体bbwbbwbbw| 欧美高清在线一区二区| 欧美aa在线视频| 91美女片黄在线观看91美女| 精品国产凹凸成av人网站| 亚洲精品免费看| 国产一区二区三区免费| 欧美一a一片一级一片| 国产日本一区二区| 日韩精品一卡二卡三卡四卡无卡| 成人久久18免费网站麻豆| 91精品国产综合久久蜜臀| 亚洲欧美日韩中文字幕一区二区三区| 老司机精品视频线观看86| 在线中文字幕一区| 欧美国产乱子伦| 国产一区二区h| 欧美疯狂性受xxxxx喷水图片| 综合中文字幕亚洲| 国产成人精品一区二区三区四区| 6080国产精品一区二区| 亚洲综合图片区| 成人av集中营| 国产女同互慰高潮91漫画| 麻豆国产一区二区| 欧美老肥妇做.爰bbww| 亚洲激情自拍视频| 91亚洲资源网| 国产精品情趣视频| 国产精品18久久久久久vr| 欧美大片在线观看一区二区| 午夜婷婷国产麻豆精品| 在线看不卡av| 曰韩精品一区二区| 色94色欧美sute亚洲线路二| 中文字幕视频一区| www.一区二区| 国产精品白丝在线| 99国产精品久| 亚洲人成伊人成综合网小说| 成人免费视频免费观看| 中文字幕va一区二区三区| 国产98色在线|日韩| 国产日韩精品一区二区浪潮av | 日韩欧美精品三级| 老司机精品视频在线| 欧美变态口味重另类| 美日韩一区二区| 欧美电影免费观看高清完整版在 | 欧美日韩亚洲高清一区二区| 亚洲主播在线播放| 欧美色区777第一页| 婷婷夜色潮精品综合在线| 亚洲女同女同女同女同女同69| 成人免费视频一区| 亚洲乱码中文字幕| 欧美三级欧美一级| 欧美bbbbb| 国产偷国产偷亚洲高清人白洁| 粉嫩aⅴ一区二区三区四区五区| 国产欧美视频在线观看| youjizz国产精品| 一区二区三区四区av| 在线成人午夜影院| 韩国精品一区二区| 国产精品色噜噜| 欧洲精品一区二区三区在线观看| 亚洲成年人影院| 欧美精品一区二区三区在线播放| 国产69精品一区二区亚洲孕妇| 国产精品欧美一区喷水| 在线一区二区三区四区五区| 免费成人av在线播放| 国产三级精品三级在线专区| 91麻豆.com| 免费成人av在线播放| 中文字幕乱码亚洲精品一区| 欧美在线免费观看视频| 麻豆视频观看网址久久| 中文幕一区二区三区久久蜜桃| 91黄色免费版| 国产一区二区三区综合|