]> source.dussan.org Git - tigervnc.git/commitdiff
Added ScaledPixelBuffer::getSrcWidth() and
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sun, 23 Jul 2006 07:09:35 +0000 (07:09 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sun, 23 Jul 2006 07:09:35 +0000 (07:09 +0000)
ScaledPixelBuffer::getSrcHeight().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@638 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaledPixelBuffer.h

index 8af6957919db75074c4c2733bef47ad218202f47..17da5d6a87052357968dbad38bc90f86cab1f0a4 100644 (file)
@@ -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; }