#include <string.h>
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>
#include "private.h"
#include <pwd.h>
Go to the source code of this file.
Defines |
#define | DEBUGPROTO(x) |
#define | CEIL(x) |
#define | FLOOR(x) ( (double) ((int) (x)) ) |
Functions |
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, const 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) |
Define Documentation
Value:( (double) ((int) (x)) == (x) ? \
(double) ((int) (x)) : (double) ((int) (x) + 1) )
Definition at line 65 of file scale.c.
#define FLOOR |
( |
|
x |
) |
( (double) ((int) (x)) ) |
Function Documentation
void rfbScaledCorrection |
( |
rfbScreenInfoPtr |
from, |
|
|
rfbScreenInfoPtr |
to, |
|
|
int * |
x, |
|
|
int * |
y, |
|
|
int * |
w, |
|
|
int * |
h, |
|
|
const char * |
function | |
|
) |
| | |
rfbScreenInfoPtr rfbScaledScreenAllocate |
( |
rfbClientPtr |
cl, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | |
void rfbScaledScreenUpdate |
( |
rfbScreenInfoPtr |
screen, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 | |
|
) |
| | |
void rfbScaledScreenUpdateRect |
( |
rfbScreenInfoPtr |
screen, |
|
|
rfbScreenInfoPtr |
ptr, |
|
|
int |
x0, |
|
|
int |
y0, |
|
|
int |
w0, |
|
|
int |
h0 | |
|
) |
| | |
rfbScreenInfoPtr rfbScalingFind |
( |
rfbClientPtr |
cl, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | |
void rfbScalingSetup |
( |
rfbClientPtr |
cl, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | |
int rfbSendNewScaleSize |
( |
rfbClientPtr |
cl |
) |
|
int ScaleX |
( |
rfbScreenInfoPtr |
from, |
|
|
rfbScreenInfoPtr |
to, |
|
|
int |
x | |
|
) |
| | |
int ScaleY |
( |
rfbScreenInfoPtr |
from, |
|
|
rfbScreenInfoPtr |
to, |
|
|
int |
y | |
|
) |
| | |