summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_brush.h
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_brush.h')
-rw-r--r--chalk/core/kis_brush.h10
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;