aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/rfb/ScaledPixelBuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/rfb/ScaledPixelBuffer.h b/common/rfb/ScaledPixelBuffer.h
index 8af69579..17da5d6a 100644
--- a/common/rfb/ScaledPixelBuffer.h
+++ b/common/rfb/ScaledPixelBuffer.h
@@ -45,6 +45,8 @@ namespace rfb {
// Get width, height, number of pixels and scale
int width() const { return scaled_width; }
int height() const { return scaled_height; }
+ int getSrcWidth() const { return src_width; }
+ int getSrcHeight() const { return src_height; }
int area() const { return scaled_width * scaled_height; }
int getScale() const { return scale; }