add libvncserver
[presencevnc] / libvnc / libvncserver / scale.h
1
2 int ScaleX(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int x);
3 int ScaleY(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int y);
4 void rfbScaledCorrection(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int *x, int *y, int *w, int *h, char *function);
5 void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, int x0, int y0, int w0, int h0);
6 void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2);
7 rfbScreenInfoPtr rfbScaledScreenAllocate(rfbClientPtr cl, int width, int height);
8 rfbScreenInfoPtr rfbScalingFind(rfbClientPtr cl, int width, int height);
9 void rfbScalingSetup(rfbClientPtr cl, int width, int height);
10 int rfbSendNewScaleSize(rfbClientPtr cl);