summaryrefslogtreecommitdiff
path: root/pixman/src/pixman.h
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/src/pixman.h')
-rw-r--r--pixman/src/pixman.h165
1 files changed, 0 insertions, 165 deletions
diff --git a/pixman/src/pixman.h b/pixman/src/pixman.h
deleted file mode 100644
index b2561629d..000000000
--- a/pixman/src/pixman.h
+++ /dev/null
@@ -1,165 +0,0 @@
-/***********************************************************
-
-Copyright 1987, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $Id: pixman.h,v 1.5 2003-07-30 17:36:50 cworth Exp $ */
-
-#ifndef _PIXREGION_H_
-#define _PIXREGION_H_
-
-#ifdef _PIXREGIONINT_H_
-#include <slim_export.h>
-#else
-#include <slim_import.h>
-#endif
-
-#if defined(__cplusplus) || defined(c_plusplus)
-extern "C" {
-#endif
-
-typedef struct _PixRegion PixRegion;
-
-typedef struct _PixRegionBox {
- short x1, y1, x2, y2;
-} PixRegionBox;
-
-typedef enum {
- PixRegionStatusFailure,
- PixRegionStatusSuccess
-} PixRegionStatus;
-
-/* creation/destruction */
-
-extern PixRegion * __external_linkage
-PixRegionCreate (void);
-
-extern PixRegion * __external_linkage
-PixRegionCreateSimple (PixRegionBox *extents);
-
-extern void __external_linkage
-PixRegionDestroy (PixRegion *region);
-
-/* manipulation */
-
-extern void __external_linkage
-PixRegionTranslate (PixRegion *region, int x, int y);
-
-extern PixRegionStatus __external_linkage
-PixRegionCopy (PixRegion *dest, PixRegion *source);
-
-extern PixRegionStatus __external_linkage
-PixRegionIntersect (PixRegion *newReg, PixRegion *reg1, PixRegion *reg2);
-
-extern PixRegionStatus __external_linkage
-PixRegionUnion (PixRegion *newReg, PixRegion *reg1, PixRegion *reg2);
-
-extern PixRegionStatus __external_linkage
-PixRegionUnionRect(PixRegion *dest, PixRegion *source,
- int x, int y, unsigned int width, unsigned int height);
-
-extern PixRegionStatus __external_linkage
-PixRegionSubtract (PixRegion *regD, PixRegion *regM, PixRegion *regS);
-
-extern PixRegionStatus __external_linkage
-PixRegionInverse (PixRegion *newReg, PixRegion *reg1, PixRegionBox *invRect);
-
-/* XXX: Need to fix this so it doesn't depend on an X data structure
-extern PixRegion * __external_linkage
-RectsToPixRegion (int nrects, xRectanglePtr prect, int ctype);
-*/
-
-/* querying */
-
-/* XXX: These should proably be combined: PixRegionGetRects? */
-extern int __external_linkage
-PixRegionNumRects (PixRegion *region);
-
-extern PixRegionBox * __external_linkage
-PixRegionRects (PixRegion *region);
-
-/* XXX: Change to an enum */
-#define rgnOUT 0
-#define rgnIN 1
-#define rgnPART 2
-
-extern int __external_linkage
-PixRegionPointInRegion (PixRegion *region, int x, int y, PixRegionBox *box);
-
-extern int __external_linkage
-PixRegionRectIn (PixRegion *PixRegion, PixRegionBox *prect);
-
-extern int __external_linkage
-PixRegionNotEmpty (PixRegion *region);
-
-extern PixRegionBox * __external_linkage
-PixRegionExtents (PixRegion *region);
-
-/* mucking around */
-
-/* WARNING: calling PixRegionAppend may leave dest as an invalid
- region. Follow-up with PixRegionValidate to fix it up. */
-extern PixRegionStatus __external_linkage
-PixRegionAppend (PixRegion *dest, PixRegion *region);
-
-extern PixRegionStatus __external_linkage
-PixRegionValidate (PixRegion *badreg, int *pOverlap);
-
-/* Unclassified functionality
- * XXX: Do all of these need to be exported?
- */
-
-extern void __external_linkage
-PixRegionReset (PixRegion *region, PixRegionBox *pBox);
-
-extern void __external_linkage
-PixRegionEmpty (PixRegion *region);
-
-#if defined(__cplusplus) || defined(c_plusplus)
-}
-#endif
-
-#undef __external_linkage
-
-#endif /* _PIXREGION_H_ */