diff options
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); |