]> git.sesse.net Git - rdpsrv/blob - Xserver/programs/Xserver/mi/migc.h
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / programs / Xserver / mi / migc.h
1 /* $XConsortium: migc.h,v 1.3 94/04/17 20:27:37 dpw Exp $ */
2 /*
3
4 Copyright (c) 1993  X Consortium
5
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
12 the following conditions:
13
14 The above copyright notice and this permission notice shall be included
15 in all copies or substantial portions of the Software.
16
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 OTHER DEALINGS IN THE SOFTWARE.
24
25 Except as contained in this notice, the name of the X Consortium shall
26 not be used in advertising or otherwise to promote the sale, use or
27 other dealings in this Software without prior written authorization
28 from the X Consortium.
29
30 */
31
32
33 extern void miRegisterGCPrivateIndex(
34 #if NeedFunctionPrototypes
35     int /*gcindex*/
36 #endif
37 );
38
39 extern void miChangeGC(
40 #if NeedFunctionPrototypes
41     GCPtr  /*pGC*/,
42     unsigned long /*mask*/
43 #endif
44 );
45
46 extern void miDestroyGC(
47 #if NeedFunctionPrototypes
48     GCPtr  /*pGC*/
49 #endif
50 );
51
52 extern GCOpsPtr miCreateGCOps(
53 #if NeedFunctionPrototypes
54     GCOpsPtr /*prototype*/
55 #endif
56 );
57
58 extern void miDestroyGCOps(
59 #if NeedFunctionPrototypes
60     GCOpsPtr /*ops*/
61 #endif
62 );
63
64 extern void miDestroyClip(
65 #if NeedFunctionPrototypes
66     GCPtr /*pGC*/
67 #endif
68 );
69
70 extern void miChangeClip(
71 #if NeedFunctionPrototypes
72     GCPtr   /*pGC*/,
73     int     /*type*/,
74     pointer /*pvalue*/,
75     int     /*nrects*/
76 #endif
77 );
78
79 extern void miCopyClip(
80 #if NeedFunctionPrototypes
81     GCPtr /*pgcDst*/,
82     GCPtr /*pgcSrc*/
83 #endif
84 );
85
86 extern void miCopyGC(
87 #if NeedFunctionPrototypes
88     GCPtr /*pGCSrc*/,
89     unsigned long /*changes*/,
90     GCPtr /*pGCDst*/
91 #endif
92 );
93
94 extern void miComputeCompositeClip(
95 #if NeedFunctionPrototypes
96     GCPtr       /*pGC*/,
97     DrawablePtr /*pDrawable*/
98 #endif
99 );