mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
Use the X11 protocol types where possible and fix signedness warnings. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
43 lines
1.2 KiB
C
43 lines
1.2 KiB
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
* Copyright © 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
|
* Copyright © 1987, 1998 The Open Group
|
|
*/
|
|
#ifndef _XSERVER_DIX_GC_PRIV_H
|
|
#define _XSERVER_DIX_GC_PRIV_H
|
|
|
|
#include "include/gc.h"
|
|
|
|
int ChangeGCXIDs(ClientPtr client, GCPtr pGC, BITS32 mask, CARD32 * pval);
|
|
|
|
GCPtr CreateGC(DrawablePtr pDrawable,
|
|
BITS32 mask,
|
|
XID *pval,
|
|
int *pStatus,
|
|
XID gcid,
|
|
ClientPtr client);
|
|
|
|
int CopyGC(GCPtr pgcSrc, GCPtr pgcDst, BITS32 mask);
|
|
|
|
int FreeGC(void *pGC, XID gid);
|
|
|
|
void FreeGCperDepth(ScreenPtr pScreen);
|
|
|
|
Bool CreateGCperDepth(ScreenPtr pScreen);
|
|
|
|
Bool CreateDefaultStipple(ScreenPtr pScreen);
|
|
|
|
int SetDashes(GCPtr pGC, unsigned offset, unsigned ndash, unsigned char *pdash);
|
|
|
|
int VerifyRectOrder(int nrects, xRectangle *prects, int ordering);
|
|
|
|
int SetClipRects(GCPtr pGC,
|
|
INT16 xOrigin,
|
|
INT16 yOrigin,
|
|
size_t nrects,
|
|
xRectangle *prects,
|
|
BYTE ordering);
|
|
|
|
#endif /* _XSERVER_DIX_GC_PRIV_H */
|