equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
83 |
83 |
84 QPainterPath clip(Operation op = BoolAnd); |
84 QPainterPath clip(Operation op = BoolAnd); |
85 |
85 |
86 bool intersect(); |
86 bool intersect(); |
87 bool contains(); |
87 bool contains(); |
|
88 |
|
89 static bool pathToRect(const QPainterPath &path, QRectF *rect = 0); |
88 |
90 |
89 private: |
91 private: |
90 Q_DISABLE_COPY(QPathClipper) |
92 Q_DISABLE_COPY(QPathClipper) |
91 |
93 |
92 enum ClipperMode { |
94 enum ClipperMode { |