38 #ifndef _GUAC_PROTOCOL_H
39 #define _GUAC_PROTOCOL_H
41 #include <cairo/cairo.h>
77 GUAC_COMP_ROVER = 0xB,
92 GUAC_COMP_RATOP = 0x9,
116 GUAC_TRANSFER_BINARY_BLACK = 0x0,
117 GUAC_TRANSFER_BINARY_WHITE = 0xF,
120 GUAC_TRANSFER_BINARY_SRC = 0x3,
121 GUAC_TRANSFER_BINARY_DEST = 0x5,
122 GUAC_TRANSFER_BINARY_NSRC = 0xC,
123 GUAC_TRANSFER_BINARY_NDEST = 0xA,
126 GUAC_TRANSFER_BINARY_AND = 0x1,
127 GUAC_TRANSFER_BINARY_NAND = 0xE,
130 GUAC_TRANSFER_BINARY_OR = 0x7,
131 GUAC_TRANSFER_BINARY_NOR = 0x8,
134 GUAC_TRANSFER_BINARY_XOR = 0x6,
135 GUAC_TRANSFER_BINARY_XNOR = 0x9,
138 GUAC_TRANSFER_BINARY_NSRC_AND = 0x4,
139 GUAC_TRANSFER_BINARY_NSRC_NAND = 0xB,
142 GUAC_TRANSFER_BINARY_NSRC_OR = 0xD,
143 GUAC_TRANSFER_BINARY_NSRC_NOR = 0x2,
146 GUAC_TRANSFER_BINARY_NDEST_AND = 0x2,
147 GUAC_TRANSFER_BINARY_NDEST_NAND = 0xD,
150 GUAC_TRANSFER_BINARY_NDEST_OR = 0xB,
151 GUAC_TRANSFER_BINARY_NDEST_NOR = 0x4
159 GUAC_LINE_CAP_BUTT = 0x0,
160 GUAC_LINE_CAP_ROUND = 0x1,
161 GUAC_LINE_CAP_SQUARE = 0x2
168 GUAC_LINE_JOIN_BEVEL = 0x0,
169 GUAC_LINE_JOIN_MITER = 0x1,
170 GUAC_LINE_JOIN_ROUND = 0x2
279 int usec_timeout,
const char* opcode);
353 const char* name,
const char* value);
400 int x,
int y,
int radius,
double startAngle,
double endAngle,
420 int r,
int g,
int b,
int a);
467 const guac_layer* srcl,
int srcx,
int srcy,
int w,
int h,
491 int r,
int g,
int b,
int a);
510 const guac_layer* srcl,
int srcx,
int srcy,
int w,
int h);
529 int cp1x,
int cp1y,
int cp2x,
int cp2y,
int x,
int y);
610 const guac_layer* layer,
int x,
int y, cairo_surface_t* surface);
651 int x,
int y,
int width,
int height);
701 const guac_layer* srcl,
int srcx,
int srcy,
int w,
int h,
722 double a,
double b,
double c,
723 double d,
double e,
double f);
757 double a,
double b,
double c,
758 double d,
double e,
double f);
776 const guac_layer* parent,
int x,
int y,
int z);