45e9809aff7304721fddb95654901b32195c9c7avboxsync/***********************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright 1987, 1998 The Open Group
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, distribute, and sell this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose is hereby granted without fee, provided that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncthe above copyright notice appear in all copies and that both that
45e9809aff7304721fddb95654901b32195c9c7avboxsynccopyright notice and this permission notice appear in supporting
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncThe above copyright notice and this permission notice shall be included in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncall copies or substantial portions of the Software.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45e9809aff7304721fddb95654901b32195c9c7avboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncExcept as contained in this notice, the name of The Open Group shall not be
45e9809aff7304721fddb95654901b32195c9c7avboxsyncused in advertising or otherwise to promote the sale, use or other dealings
45e9809aff7304721fddb95654901b32195c9c7avboxsyncin this Software without prior written authorization from The Open Group.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync All Rights Reserved
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, and distribute this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose and without fee is hereby granted,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncprovided that the above copyright notice appear in all copies and that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncboth that copyright notice and this permission notice appear in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsupporting documentation, and that the name of Digital not be
45e9809aff7304721fddb95654901b32195c9c7avboxsyncused in advertising or publicity pertaining to distribution of the
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsoftware without specific, written prior permission.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
45e9809aff7304721fddb95654901b32195c9c7avboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45e9809aff7304721fddb95654901b32195c9c7avboxsyncSOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync******************************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef MI_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define MI_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include <X11/X.h>
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "region.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "validate.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "window.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "gc.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include <X11/fonts/font.h>
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "input.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "cursor.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "privates.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "colormap.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "events.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define MiBits CARD32
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct _miDash *miDashPtr;
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define EVEN_DASH 0
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define ODD_DASH ~0
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* miarc.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolyArc(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*narcs*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xArc * /*parcs*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mibitblt.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr miCopyArea(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pSrcDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDstDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*xIn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*yIn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*widthSrc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*heightSrc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*xOut*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*yOut*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr miCopyPlane(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pSrcDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDstDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*srcx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*srcy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*width*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*height*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dstx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dsty*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned long /*bitPlane*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miGetImage(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*sx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*sy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*w*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*h*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*format*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned long /*planeMask*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /*pdstLine*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPutImage(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*depth*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*w*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*h*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*leftPad*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*format*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /*pImage*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* micopy.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define miGetCompositeClip(pGC) ((pGC)->pCompositeClip)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef void (*miCopyProc) (DrawablePtr pSrcDrawable,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr pDstDrawable,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr pGC,
45e9809aff7304721fddb95654901b32195c9c7avboxsync BoxPtr pDstBox,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int nbox,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int dx,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int dy,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool reverse,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool upsidedown,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Pixel bitplane,
45e9809aff7304721fddb95654901b32195c9c7avboxsync void *closure);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void
45e9809aff7304721fddb95654901b32195c9c7avboxsyncmiCopyRegion (DrawablePtr pSrcDrawable,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr pDstDrawable,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr pGC,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr pDstRegion,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int dx,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int dy,
45e9809aff7304721fddb95654901b32195c9c7avboxsync miCopyProc copyProc,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Pixel bitPlane,
45e9809aff7304721fddb95654901b32195c9c7avboxsync void *closure);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr
45e9809aff7304721fddb95654901b32195c9c7avboxsyncmiDoCopy (DrawablePtr pSrcDrawable,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr pDstDrawable,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr pGC,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int xIn,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int yIn,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int widthSrc,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int heightSrc,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int xOut,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int yOut,
45e9809aff7304721fddb95654901b32195c9c7avboxsync miCopyProc copyProc,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Pixel bitplane,
45e9809aff7304721fddb95654901b32195c9c7avboxsync void *closure);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* micursor.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miRecolorCursor(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* pDev */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScr*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync CursorPtr /*pCurs*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool /*displayed*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* midash.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miStepDash(
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dist*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int * /*pDashIndex*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned char * /*pDash*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*numInDashList*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int * /*pDashOffset*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mieq.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef INPUT_H
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct _DeviceRec *DevicePtr;
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool mieqInit(
45e9809aff7304721fddb95654901b32195c9c7avboxsync void
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void mieqFini(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void mieqEnqueue(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /*pDev*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync InternalEvent* /*e*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void mieqSwitchScreen(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* pDev */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool /*fromDIX*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void mieqProcessDeviceEvent(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* dev*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync InternalEvent* /* event */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /* screen*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void mieqProcessInputEvents(
45e9809aff7304721fddb95654901b32195c9c7avboxsync void
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern DeviceIntPtr CopyGetMasterEvent(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DeviceIntPtr /* sdev */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync InternalEvent* /* original */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync InternalEvent* /* copy */
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/**
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Custom input event handler. If you need to process input events in some
45e9809aff7304721fddb95654901b32195c9c7avboxsync * other way than the default path, register an input event handler for the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * given internal event type.
45e9809aff7304721fddb95654901b32195c9c7avboxsync */
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef void (*mieqHandler)(int screen, InternalEvent* event, DeviceIntPtr dev);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncvoid _X_EXPORT mieqSetHandler(int event, mieqHandler handler);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* miexpose.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr miHandleExposures(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pSrcDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDstDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*srcx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*srcy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*width*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*height*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dstx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dsty*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned long /*plane*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miSendGraphicsExpose(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*pRgn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync XID /*drawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*major*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*minor*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miSendExposures(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*pRgn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dy*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miWindowExposures(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*prgn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*other_exposed*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPaintWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*prgn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*what*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miClearDrawable(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mifillrct.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolyFillRect(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*nrectFill*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xRectangle * /*prectInit*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* miglblt.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolyGlyphBlt(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*nglyph*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync CharInfoPtr * /*ppci*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*pglyphBase*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miImageGlyphBlt(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*nglyph*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync CharInfoPtr * /*ppci*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*pglyphBase*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipoly.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miFillPolygon(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*dst*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pgc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*shape*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*mode*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointPtr /*pPts*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipolycon.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miFillConvexPoly(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*dst*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pgc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointPtr /*ptsIn*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipolygen.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miFillGeneralPoly(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*dst*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pgc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointPtr /*ptsIn*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipolypnt.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolyPoint(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*mode*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*npt*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xPoint * /*pptInit*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipolyrect.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolyRectangle(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*nrects*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xRectangle * /*pRects*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipolyseg.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolySegment(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*nseg*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xSegment * /*pSegs*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipolytext.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int miPolyText8(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /*chars*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int miPolyText16(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned short * /*chars*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miImageText8(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /*chars*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miImageText16(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*count*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned short * /*chars*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mipushpxl.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPushPixels(
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync PixmapPtr /*pBitMap*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*xOrg*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*yOrg*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* miregion.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* see also region.h */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miRectAlloc(
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*pRgn*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*n*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef DEBUG
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miValidRegion(
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*prgn*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miRegionBroken(RegionPtr pReg);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* miscrinit.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miModifyPixmapHeader(
45e9809aff7304721fddb95654901b32195c9c7avboxsync PixmapPtr /*pPixmap*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*width*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*height*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*depth*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*bitsPerPixel*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*devKind*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*pPixData*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miCreateScreenResources(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miScreenDevPrivateInit(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*width*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*pbits*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miScreenInit(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*pbits*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*xsize*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*ysize*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dpix*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dpiy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*width*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*rootDepth*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*numDepths*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DepthPtr /*depths*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VisualID /*rootVisual*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*numVisuals*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VisualPtr /*visuals*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT DevPrivateKey miAllocateGCPrivateIndex(
45e9809aff7304721fddb95654901b32195c9c7avboxsync void
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mivaltree.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int miShapedWindowIn(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*universe*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync RegionPtr /*bounding*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync BoxPtr /*rect*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef void
45e9809aff7304721fddb95654901b32195c9c7avboxsync(*SetRedirectBorderClipProcPtr) (WindowPtr pWindow, RegionPtr pRegion);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef RegionPtr
45e9809aff7304721fddb95654901b32195c9c7avboxsync(*GetRedirectBorderClipProcPtr) (WindowPtr pWindow);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void
45e9809aff7304721fddb95654901b32195c9c7avboxsyncmiRegisterRedirectBorderClipProc (SetRedirectBorderClipProcPtr setBorderClip,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GetRedirectBorderClipProcPtr getBorderClip);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int miValidateTree(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pParent*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pChild*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VTKind /*kind*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miWideLine(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*mode*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*npt*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointPtr /*pPts*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miWideDash(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDrawable*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*mode*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*npt*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointPtr /*pPts*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* miwindow.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miClearToBackground(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*w*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*h*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool /*generateExposures*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miMarkWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool miMarkOverlappedWindows(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pFirst*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr * /*ppLayerWin*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miHandleValidateExposures(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miMoveWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pNextSib*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VTKind /*kind*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miSlideAndSizeWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*w*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*h*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pSib*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT WindowPtr miGetLayerWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miSetShape(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miChangeBorderWidth(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*width*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miMarkUnrealizedWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pChild*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool /*fromConfigure*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miSegregateChildren(WindowPtr pWin, RegionPtr pReg, int depth);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mizerarc.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miZeroPolyArc(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*narcs*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xArc * /*parcs*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* mizerline.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miZeroLine(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*dst*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pgc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*mode*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*nptInit*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointRec * /*pptInit*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miZeroDashLine(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*dst*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pgc*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*mode*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*nptInit*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync DDXPointRec * /*pptInit*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void miPolyFillArc(
45e9809aff7304721fddb95654901b32195c9c7avboxsync DrawablePtr /*pDraw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync GCPtr /*pGC*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*narcs*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xArc * /*parcs*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* MI_H */