mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
remove unused and internal QPaintEngine::fix_neg_rect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bc299e7af0
commit
ef993f1657
2 changed files with 0 additions and 21 deletions
|
@ -572,12 +572,6 @@ void QPaintEngine::drawImage(const QRectF &r, const QImage &image, const QRectF
|
|||
Reimplement this function to return the paint engine \l{Type}.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn void QPaintEngine::fix_neg_rect(int *x, int *y, int *w, int *h);
|
||||
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn bool QPaintEngine::testDirty(DirtyFlags df)
|
||||
|
||||
|
|
|
@ -185,8 +185,6 @@ public:
|
|||
};
|
||||
virtual Type type() const = 0;
|
||||
|
||||
inline void fix_neg_rect(int *x, int *y, int *w, int *h);
|
||||
|
||||
inline bool testDirty(DirtyFlags df);
|
||||
inline void setDirty(DirtyFlags df);
|
||||
inline void clearDirty(DirtyFlags df);
|
||||
|
@ -264,19 +262,6 @@ protected:
|
|||
//
|
||||
// inline functions
|
||||
//
|
||||
|
||||
inline void QPaintEngine::fix_neg_rect(int *x, int *y, int *w, int *h)
|
||||
{
|
||||
if (*w < 0) {
|
||||
*w = -*w;
|
||||
*x -= *w - 1;
|
||||
}
|
||||
if (*h < 0) {
|
||||
*h = -*h;
|
||||
*y -= *h - 1;
|
||||
}
|
||||
}
|
||||
|
||||
inline bool QPaintEngine::testDirty(DirtyFlags df) {
|
||||
Q_ASSERT(state);
|
||||
return ((state->dirtyFlags & df) != 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue