From b85a0d6292605ef85a6720ed09bd292e88449286 Mon Sep 17 00:00:00 2001 From: george82 Date: Sun, 23 Jul 2006 07:09:35 +0000 Subject: [PATCH] Added ScaledPixelBuffer::getSrcWidth() and ScaledPixelBuffer::getSrcHeight(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@638 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/ScaledPixelBuffer.h | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5