105b261ecSmrg/* 205b261ecSmrg * Copyright © 1998 Keith Packard 305b261ecSmrg * 405b261ecSmrg * Permission to use, copy, modify, distribute, and sell this software and its 505b261ecSmrg * documentation for any purpose is hereby granted without fee, provided that 605b261ecSmrg * the above copyright notice appear in all copies and that both that 705b261ecSmrg * copyright notice and this permission notice appear in supporting 805b261ecSmrg * documentation, and that the name of Keith Packard not be used in 905b261ecSmrg * advertising or publicity pertaining to distribution of the software without 1005b261ecSmrg * specific, written prior permission. Keith Packard makes no 1105b261ecSmrg * representations about the suitability of this software for any purpose. It 1205b261ecSmrg * is provided "as is" without express or implied warranty. 1305b261ecSmrg * 1405b261ecSmrg * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1505b261ecSmrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 1605b261ecSmrg * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1705b261ecSmrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 1805b261ecSmrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 1905b261ecSmrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2005b261ecSmrg * PERFORMANCE OF THIS SOFTWARE. 2105b261ecSmrg */ 2205b261ecSmrg 2305b261ecSmrg#ifdef HAVE_DIX_CONFIG_H 2405b261ecSmrg#include <dix-config.h> 2505b261ecSmrg#endif 2605b261ecSmrg 2705b261ecSmrg#include "fb.h" 2805b261ecSmrg#include "miline.h" 2905b261ecSmrg#include "mizerarc.h" 3005b261ecSmrg 3105b261ecSmrg#undef BRESSOLID 3205b261ecSmrg#undef BRESDASH 3305b261ecSmrg#undef DOTS 3405b261ecSmrg#undef ARC 3505b261ecSmrg#undef GLYPH 3605b261ecSmrg#undef BITS 3705b261ecSmrg#undef BITS2 3805b261ecSmrg#undef BITS4 3905b261ecSmrg 4005b261ecSmrg#define BRESSOLID fbBresSolid8 4105b261ecSmrg#define BRESDASH fbBresDash8 4205b261ecSmrg#define DOTS fbDots8 4305b261ecSmrg#define ARC fbArc8 4405b261ecSmrg#define GLYPH fbGlyph8 4505b261ecSmrg#define POLYLINE fbPolyline8 4605b261ecSmrg#define POLYSEGMENT fbPolySegment8 4705b261ecSmrg#define BITS BYTE 4805b261ecSmrg#define BITS2 CARD16 4905b261ecSmrg#define BITS4 CARD32 5005b261ecSmrg 5105b261ecSmrg#include "fbbits.h" 5205b261ecSmrg 5305b261ecSmrg#undef BRESSOLID 5405b261ecSmrg#undef BRESDASH 5505b261ecSmrg#undef DOTS 5605b261ecSmrg#undef ARC 5705b261ecSmrg#undef GLYPH 5805b261ecSmrg#undef POLYLINE 5905b261ecSmrg#undef POLYSEGMENT 6005b261ecSmrg#undef BITS 6105b261ecSmrg#undef BITS2 6205b261ecSmrg#undef BITS4 6305b261ecSmrg 6405b261ecSmrg#define BRESSOLID fbBresSolid16 6505b261ecSmrg#define BRESDASH fbBresDash16 6605b261ecSmrg#define DOTS fbDots16 6705b261ecSmrg#define ARC fbArc16 6805b261ecSmrg#define GLYPH fbGlyph16 6905b261ecSmrg#define POLYLINE fbPolyline16 7005b261ecSmrg#define POLYSEGMENT fbPolySegment16 7105b261ecSmrg#define BITS CARD16 7205b261ecSmrg#define BITS2 CARD32 7305b261ecSmrg 7405b261ecSmrg#include "fbbits.h" 7505b261ecSmrg 7605b261ecSmrg#undef BRESSOLID 7705b261ecSmrg#undef BRESDASH 7805b261ecSmrg#undef DOTS 7905b261ecSmrg#undef ARC 8005b261ecSmrg#undef GLYPH 8105b261ecSmrg#undef POLYLINE 8205b261ecSmrg#undef POLYSEGMENT 8305b261ecSmrg#undef BITS 8405b261ecSmrg#undef BITS2 8505b261ecSmrg 8605b261ecSmrg#define BRESSOLID fbBresSolid32 8705b261ecSmrg#define BRESDASH fbBresDash32 8805b261ecSmrg#define DOTS fbDots32 8905b261ecSmrg#define ARC fbArc32 9005b261ecSmrg#define GLYPH fbGlyph32 9105b261ecSmrg#define POLYLINE fbPolyline32 9205b261ecSmrg#define POLYSEGMENT fbPolySegment32 9305b261ecSmrg#define BITS CARD32 9405b261ecSmrg 9505b261ecSmrg#include "fbbits.h" 9605b261ecSmrg 9705b261ecSmrg#undef BRESSOLID 9805b261ecSmrg#undef BRESDASH 9905b261ecSmrg#undef DOTS 10005b261ecSmrg#undef ARC 10105b261ecSmrg#undef GLYPH 10205b261ecSmrg#undef POLYLINE 10305b261ecSmrg#undef POLYSEGMENT 10405b261ecSmrg#undef BITS 105