Daniel Llorens 7e591cad0b Remove generated files 10 سال پیش
..
info 7e591cad0b Remove generated files 10 سال پیش
AUTHORS 798e4231dd Initial import from plotutils-2.6 13 سال پیش
COPYING 798e4231dd Initial import from plotutils-2.6 13 سال پیش
CUSTOMIZE 798e4231dd Initial import from plotutils-2.6 13 سال پیش
ChangeLog 798e4231dd Initial import from plotutils-2.6 13 سال پیش
INSTALL 798e4231dd Initial import from plotutils-2.6 13 سال پیش
Makefile.am 798e4231dd Initial import from plotutils-2.6 13 سال پیش
NEWS 798e4231dd Initial import from plotutils-2.6 13 سال پیش
README 798e4231dd Initial import from plotutils-2.6 13 سال پیش
README-X 798e4231dd Initial import from plotutils-2.6 13 سال پیش
TODO 798e4231dd Initial import from plotutils-2.6 13 سال پیش
VERSION 798e4231dd Initial import from plotutils-2.6 13 سال پیش
config.guess 798e4231dd Initial import from plotutils-2.6 13 سال پیش
config.sub 798e4231dd Initial import from plotutils-2.6 13 سال پیش
drawing.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
extern.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
install-sh 798e4231dd Initial import from plotutils-2.6 13 سال پیش
ltconfig 798e4231dd Initial import from plotutils-2.6 13 سال پیش
ltmain.sh 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_alloc.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_api.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_api.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_arc.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_arc.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_canvas.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_fllarc.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_fllarc.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_fllrct.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_fply.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_fplycon.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_gc.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_gc.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_line.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_ply.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_ply.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_plycon.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_plygen.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_plypnt.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_plyutil.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_scanfill.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_spans.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_spans.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_version.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_widelin.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_widelin.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_zerarc.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_zerarc.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mi_zerolin.c 798e4231dd Initial import from plotutils-2.6 13 سال پیش
missing 798e4231dd Initial import from plotutils-2.6 13 سال پیش
mkinstalldirs 798e4231dd Initial import from plotutils-2.6 13 سال پیش
sys-defines.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش
xmi.h 798e4231dd Initial import from plotutils-2.6 13 سال پیش

README

This directory contains libxmi, a machine-independent vector graphics
rasterization library, and the sample program ./drawing.c. The source code
for libxmi is distributed under the GNU GPL (see the file ./COPYING). The
Web page for the package is: http://www.gnu.org/software/libxmi/libxmi.html .

The file ./INSTALL explains how to install libxmi, and the file ./CUSTOMIZE
explains how to customize it. Please read this file first, though.

libxmi is based on the vector graphics code in the sample X server that is
a part of the X Window System distribution. This code has been converted
to ANSI C, extensively rearranged and commented, and somewhat extended.
(In particular, by adding support for multicolored dashing.) The original
X11 vector graphics code was written in the mid-to-late 1980's by Brian
Kelleher, Joel McCormack, Todd Newman, Keith Packard, Robert Scheifler and
Ken Whaley, who worked for Digital Equipment Corp., MIT, and/or the X
Consortium. See ./README-X for an X Consortium permission notice. GNU
extensions by Robert S. Maier .

The public header file for libxmi is ./xmi.h. It declares the eight
functions in libxmi's core API, e.g. miDrawPoints(), miDrawLines(),
miFillPolygon(), miDrawRectangles(), miFillRectangles(), miDrawArcs(), and
miFillArcs(). These functions have the same semantics as the corresponding
X11 functions (XDrawPoints, XDrawLines, etc.). The libxmi API contains a
reentrant function miDrawArcs_r() too, since miDrawArcs() is not reentrant.
Each function in the core API adds painted points to an opaque miPaintedSet
object, a pointer to which is passed as its first argument.

The core API includes functions for creating, manipulating, and destroying
miPaintSet objects. It also includes functions for creating, manipulating,
and destroying miCanvas objects. The function miCopyPaintedSetToCanvas()
moves the points in a miPaintedSet to the next stage of the graphics
pipeline: it merges them onto a miCanvas. There is support in this second
stage for sophisticated pixel-merging algorithms.

In general, it should be easy to install libxmi as a standalone library, or
incorporate libxmi bodily into another package's source tree. libxmi is
written in `strict C', so it may be compiled with either an ANSI C compiler
or a C++ compiler. See ./INSTALL.