Defines | Functions

libvncserver/draw.c File Reference

#include <rfb/rfb.h>
Include dependency graph for draw.c:

Go to the source code of this file.

Defines

#define SETPIXEL(x, y)   memcpy(s->frameBuffer+(y)*rowstride+(x)*bpp,colour,bpp)
#define SWAPPOINTS   { i=x1; x1=x2; x2=i; i=y1; y1=y2; y2=i; }

Functions

void rfbFillRect (rfbScreenInfoPtr s, int x1, int y1, int x2, int y2, rfbPixel col)
void rfbDrawPixel (rfbScreenInfoPtr s, int x, int y, rfbPixel col)
void rfbDrawLine (rfbScreenInfoPtr s, int x1, int y1, int x2, int y2, rfbPixel col)

Define Documentation

#define SETPIXEL (   x,
  y 
)    memcpy(s->frameBuffer+(y)*rowstride+(x)*bpp,colour,bpp)

Definition at line 17 of file draw.c.

#define SWAPPOINTS   { i=x1; x1=x2; x2=i; i=y1; y1=y2; y2=i; }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines