aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkimgbuf.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-11-18 20:16:42 +0100
committerSebastian Geerken <devnull@localhost>2013-11-18 20:16:42 +0100
commit9ec54d30159139ef7e66eefd24fbe601d7544b99 (patch)
tree6ae74cccd930cfef738cf162215b72c8eb852919 /dw/fltkimgbuf.hh
parenta406f9d43bdc140fa7355be4e72aaef5081d7dd2 (diff)
Optimized drawing of very small background images.
Diffstat (limited to 'dw/fltkimgbuf.hh')
-rw-r--r--dw/fltkimgbuf.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/fltkimgbuf.hh b/dw/fltkimgbuf.hh
index ee5ae922..0b8b5549 100644
--- a/dw/fltkimgbuf.hh
+++ b/dw/fltkimgbuf.hh
@@ -73,6 +73,9 @@ public:
void getRowArea (int row, dw::core::Rectangle *area);
int getRootWidth ();
int getRootHeight ();
+ core::Imgbuf *createSimilarBuf (int width, int height);
+ void copyTo (Imgbuf *dest, int xDestRoot, int yDestRoot,
+ int xSrc, int ySrc, int widthSrc, int heightSrc);
void ref ();
void unref ();