mistruct.h revision f78b12e570284aa8291f4ca1add24937fd107403
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen/***********************************************************
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenCopyright 1987, 1998 The Open Group
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenPermission to use, copy, modify, distribute, and sell this software and its
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowendocumentation for any purpose is hereby granted without fee, provided that
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowenthe above copyright notice appear in all copies and that both that
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowencopyright notice and this permission notice appear in supporting
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowendocumentation.
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenThe above copyright notice and this permission notice shall be included in
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowenall copies or substantial portions of the Software.
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenExcept as contained in this notice, the name of The Open Group shall not be
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowenused in advertising or otherwise to promote the sale, use or other dealings
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowenin this Software without prior written authorization from The Open Group.
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen All Rights Reserved
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenPermission to use, copy, modify, and distribute this software and its
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowendocumentation for any purpose and without fee is hereby granted,
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowenprovided that the above copyright notice appear in all copies and that
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowenboth that copyright notice and this permission notice appear in
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowensupporting documentation, and that the name of Digital not be
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenused in advertising or publicity pertaining to distribution of the
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowensoftware without specific, written prior permission.
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie BowenWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowenARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowenSOFTWARE.
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen******************************************************************/
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen#ifndef MISTRUCT_H
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen#define MISTRUCT_H
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen#include "mi.h"
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen#include "regionstr.h"
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen/* information about dashes */
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowentypedef struct _miDash {
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen DDXPointRec pt;
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen int e1, e2; /* keep these, so we don't have to do it again */
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen int e; /* bresenham error term for this point on line */
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen int which;
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen int newLine;/* 0 if part of same original line as previous dash */
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen } miDashRec;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen#endif /* MISTRUCT_H */
5c124de5c36bfc236d55578429df5f048f0d0a07Jamie Bowen