diff options
author | dscho <dscho> | 2005-01-18 22:58:59 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-01-18 22:58:59 +0000 |
commit | dd923e866021418379ee88b8a927597f616fbc84 (patch) | |
tree | 7dd7e239f8334dabac332a030cb00c212dbdda94 /rfb | |
parent | 9cc78e546033fe8cbc576a9fe1084338ceb47928 (diff) | |
download | libvncserver-dd923e866021418379ee88b8a927597f616fbc84.zip libvncserver-dd923e866021418379ee88b8a927597f616fbc84.tar.gz |
add convenience function to clip using x2,y2 instead of w,h
Diffstat (limited to 'rfb')
-rwxr-xr-x | rfb/rfbregion.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rfb/rfbregion.h b/rfb/rfbregion.h index 8c07054..53da667 100755 --- a/rfb/rfbregion.h +++ b/rfb/rfbregion.h @@ -59,4 +59,7 @@ void sraRgnPrint(const sraRegion *s); extern rfbBool sraClipRect(int *x, int *y, int *w, int *h, int cx, int cy, int cw, int ch); +extern rfbBool sraClipRect2(int *x, int *y, int *x2, int *y2, + int cx, int cy, int cx2, int cy2); + #endif |