Added the routines for manipulation the scale filter method. It allow change the
scale filter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2241 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/ScaledPixelBuffer.h b/common/rfb/ScaledPixelBuffer.h
index b41c59a..fbdba8c 100644
--- a/common/rfb/ScaledPixelBuffer.h
+++ b/common/rfb/ScaledPixelBuffer.h
@@ -77,6 +77,10 @@
// Set the new scale, in percent
virtual void setScale(int scale);
+ // Set/get the scale method
+ virtual void setScaleFilter(unsigned int scaleFilterID);
+ unsigned int getScaleFilterID() const { return scaleFilterID; }
+
// Scale rect from the source image buffer to the destination buffer
// using the current interpolation method
virtual void scaleRect(const Rect& r);