diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /chalk/core/kis_brush.h | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/core/kis_brush.h')
-rw-r--r-- | chalk/core/kis_brush.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chalk/core/kis_brush.h b/chalk/core/kis_brush.h index 57dd9d9e..9a7f3bb0 100644 --- a/chalk/core/kis_brush.h +++ b/chalk/core/kis_brush.h @@ -77,10 +77,10 @@ public: virtual bool saveToDevice(TQIODevice* dev) const; /** - @return a tqmask computed from the grey-level values of the + @return a mask computed from the grey-level values of the pixels in the brush. */ - virtual KisAlphaMaskSP tqmask(const KisPaintInformation& info, + virtual KisAlphaMaskSP mask(const KisPaintInformation& info, double subPixelX = 0, double subPixelY = 0) const; // XXX: return non-tiled simple buffer virtual KisPaintDeviceSP image(KisColorSpace * colorSpace, const KisPaintInformation& info, @@ -94,7 +94,7 @@ public: double xSpacing(double pressure = PRESSURE_DEFAULT) const; double ySpacing(double pressure = PRESSURE_DEFAULT) const; - // Dimensions in pixels of the tqmask/image at a given pressure. + // Dimensions in pixels of the mask/image at a given pressure. TQ_INT32 maskWidth(const KisPaintInformation& info) const; TQ_INT32 maskHeight(const KisPaintInformation& info) const; @@ -135,11 +135,11 @@ private: double scale() const { return m_scale; } double xScale() const { return m_xScale; } double yScale() const { return m_yScale; } - KisAlphaMaskSP tqmask() const { return m_tqmask; } + KisAlphaMaskSP mask() const { return m_mask; } TQImage image() const { return m_image; } private: - KisAlphaMaskSP m_tqmask; + KisAlphaMaskSP m_mask; TQImage m_image; double m_scale; double m_xScale; |