summaryrefslogtreecommitdiff
path: root/renderscope.h
blob: db9e718829752bd9296258d9d5c7db9589b426d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef _RENDERSCOPE_H_
#define _RENDERSCOPE_H_

#define RENDERREQUESTHEADER  "RENDERREQUEST"
#define RENDERREPLYHEADER	  "RENDERREPLY"

/*
  To aid in making the choice between level 1 and level 2, we
  define the following define, which does not print relatively
  unimportant fields.
*/

#define printfield(a,b,c,d,e) if (Verbose > 1) PrintField(a,b,c,d,e)

extern void RenderQueryVersion		(FD fd, const unsigned char *buf);
extern void RenderQueryVersionReply	(FD fd, const unsigned char *buf);
extern void RenderQueryPictFormats	(FD fd, const unsigned char *buf);
extern void RenderQueryPictFormatsReply	(FD fd, const unsigned char *buf);
extern void RenderQueryPictIndexValues	(FD fd, const unsigned char *buf);
extern void RenderQueryPictIndexValuesReply (FD fd, const unsigned char *buf);
extern void RenderQueryDithers		(FD fd, const unsigned char *buf);
extern void RenderQueryDithersReply	(FD fd, const unsigned char *buf);
extern void RenderCreatePicture		(FD fd, const unsigned char *buf);
extern void RenderChangePicture		(FD fd, const unsigned char *buf);
extern void RenderSetPictureClipRectangles (FD fd, const unsigned char *buf);
extern void RenderFreePicture		(FD fd, const unsigned char *buf);
extern void RenderComposite		(FD fd, const unsigned char *buf);
extern void RenderScale			(FD fd, const unsigned char *buf);
extern void RenderTrapezoids		(FD fd, const unsigned char *buf);
extern void RenderTriangles		(FD fd, const unsigned char *buf);
extern void RenderTriStrip		(FD fd, const unsigned char *buf);
extern void RenderTriFan		(FD fd, const unsigned char *buf);
extern void RenderColorTrapezoids	(FD fd, const unsigned char *buf);
extern void RenderColorTriangles	(FD fd, const unsigned char *buf);
extern void RenderTransform		(FD fd, const unsigned char *buf);
extern void RenderCreateGlyphSet	(FD fd, const unsigned char *buf);
extern void RenderReferenceGlyphSet	(FD fd, const unsigned char *buf);
extern void RenderFreeGlyphSet		(FD fd, const unsigned char *buf);
extern void RenderAddGlyphs		(FD fd, const unsigned char *buf);
extern void RenderAddGlyphsFromPicture	(FD fd, const unsigned char *buf);
extern void RenderFreeGlyphs		(FD fd, const unsigned char *buf);
extern void RenderCompositeGlyphs8	(FD fd, const unsigned char *buf);
extern void RenderCompositeGlyphs16	(FD fd, const unsigned char *buf);
extern void RenderCompositeGlyphs32	(FD fd, const unsigned char *buf);
extern void RenderFillRectangles	(FD fd, const unsigned char *buf);
extern void RenderCreateCursor		(FD fd, const unsigned char *buf);
extern void RenderSetPictureTransform	(FD fd, const unsigned char *buf);
extern void RenderQueryFilters		(FD fd, const unsigned char *buf);
extern void RenderQueryFiltersReply	(FD fd, const unsigned char *buf);
extern void RenderSetPictureFilter	(FD fd, const unsigned char *buf);
extern void RenderCreateAnimCursor	(FD fd, const unsigned char *buf);
extern void RenderAddTraps		(FD fd, const unsigned char *buf);
extern void RenderCreateSolidFill	(FD fd, const unsigned char *buf);
extern void RenderCreateLinearGradient	(FD fd, const unsigned char *buf);
extern void RenderCreateRadialGradient	(FD fd, const unsigned char *buf);
extern void RenderCreateConicalGradient	(FD fd, const unsigned char *buf);

extern void RenderPictFormatError	(FD fd, const unsigned char *buf);
extern void RenderPictureError		(FD fd, const unsigned char *buf);
extern void RenderPictOpError		(FD fd, const unsigned char *buf);
extern void RenderGlyphSetError		(FD fd, const unsigned char *buf);
extern void RenderGlyphError		(FD fd, const unsigned char *buf);

#endif