diff options
author | steven_carr <steven_carr> | 2006-05-03 19:29:18 +0000 |
---|---|---|
committer | steven_carr <steven_carr> | 2006-05-03 19:29:18 +0000 |
commit | 2670641432683c15529d93f3ec2e09fed220b53c (patch) | |
tree | 29d517f032b71b673681574dc352d80096a8426f /libvncserver/scale.h | |
parent | afa9fae0248650cb358463c37756c3560da4b57a (diff) | |
download | libtdevnc-2670641432683c15529d93f3ec2e09fed220b53c.tar.gz libtdevnc-2670641432683c15529d93f3ec2e09fed220b53c.zip |
Client Independent Server Side Scaling is now supported
Both PalmVNC and UltraVNC SetScale messages are supported
Diffstat (limited to 'libvncserver/scale.h')
-rw-r--r-- | libvncserver/scale.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libvncserver/scale.h b/libvncserver/scale.h new file mode 100644 index 0000000..13dd942 --- /dev/null +++ b/libvncserver/scale.h @@ -0,0 +1,10 @@ + +int ScaleX(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int x); +int ScaleY(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int y); +void rfbScaledCorrection(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int *x, int *y, int *w, int *h, char *function); +void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, int x0, int y0, int w0, int h0); +void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2); +rfbScreenInfoPtr rfbScaledScreenAllocate(rfbClientPtr cl, int width, int height); +rfbScreenInfoPtr rfbScalingFind(rfbClientPtr cl, int width, int height); +void rfbScalingSetup(rfbClientPtr cl, int width, int height); +int rfbSendNewScaleSize(rfbClientPtr cl); |