From: george82 Date: Sun, 23 Jul 2006 07:09:35 +0000 (+0000) Subject: Added ScaledPixelBuffer::getSrcWidth() and X-Git-Tag: v0.0.90~384^2~245 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b85a0d6292605ef85a6720ed09bd292e88449286;p=tigervnc.git Added ScaledPixelBuffer::getSrcWidth() and ScaledPixelBuffer::getSrcHeight(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@638 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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; }