summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/filltool.h
authorleseb <leseb>2002-06-27 08:42:50 (UTC)
committer leseb <leseb>2002-06-27 08:42:50 (UTC)
commit596749dc52cc89b5325f9089b79d0b9cc8240682 (patch) (side-by-side diff)
tree7d400323444c6ea5c1bfb5d9c2f8dfb3a2a01435 /noncore/graphics/drawpad/filltool.h
parent4080b87bd8f9a76217ba8ae06f2a1b2ca9bcc285 (diff)
downloadopie-596749dc52cc89b5325f9089b79d0b9cc8240682.zip
opie-596749dc52cc89b5325f9089b79d0b9cc8240682.tar.gz
opie-596749dc52cc89b5325f9089b79d0b9cc8240682.tar.bz2
Try to take AA into account when filling
Diffstat (limited to 'noncore/graphics/drawpad/filltool.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/filltool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/filltool.h b/noncore/graphics/drawpad/filltool.h
index eaf9a27..03ee489 100644
--- a/noncore/graphics/drawpad/filltool.h
+++ b/noncore/graphics/drawpad/filltool.h
@@ -30,8 +30,12 @@ public:
private:
void fillLine(int x, int y);
+ void fillMaskLine(int x, int y);
+ void setInterpolatedPixel(int x, int y);
+ int rgbDistance(QRgb rgb1, QRgb rgb2);
QImage m_image;
+ QImage m_mask;
QRgb m_fillRgb;
QRgb m_oldRgb;
};