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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/core/kis_brush.h b/chalk/core/kis_brush.h
index 091cebde..57dd9d9e 100644
--- a/chalk/core/kis_brush.h
+++ b/chalk/core/kis_brush.h
@@ -95,8 +95,8 @@ public:
double ySpacing(double pressure = PRESSURE_DEFAULT) const;
// Dimensions in pixels of the tqmask/image at a given pressure.
- TQ_INT32 tqmaskWidth(const KisPaintInformation& info) const;
- TQ_INT32 tqmaskHeight(const KisPaintInformation& info) const;
+ TQ_INT32 maskWidth(const KisPaintInformation& info) const;
+ TQ_INT32 maskHeight(const KisPaintInformation& info) const;
virtual void setUseColorAsMask(bool useColorAsMask) { m_useColorAsMask = useColorAsMask; }
virtual bool useColorAsMask() const { return m_useColorAsMask; }
@@ -157,7 +157,7 @@ private:
static TQImage scaleImage(const TQImage& srcImage, int width, int height);
static TQImage interpolate(const TQImage& image1, const TQImage& image2, double t);
- static KisAlphaMaskSP scaleSinglePixelMask(double scale, TQ_UINT8 tqmaskValue, double subPixelX, double subPixelY);
+ static KisAlphaMaskSP scaleSinglePixelMask(double scale, TQ_UINT8 maskValue, double subPixelX, double subPixelY);
static TQImage scaleSinglePixelImage(double scale, TQRgb pixel, double subPixelX, double subPixelY);
// Find the scaled brush(es) nearest to the given scale.