Find a file
2003-01-28 13:49:57 +00:00
src Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
.cvsignore Added TODO, README, and .cvsignore 2002-10-26 08:00:39 +00:00
ChangeLog Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
Imakefile Fixed miter limit handling. Added local.def 2003-01-24 13:52:01 +00:00
local.def Fixed miter limit handling. Added local.def 2003-01-24 13:52:01 +00:00
README Fixed miter limit handling. Added local.def 2003-01-24 13:52:01 +00:00
TODO Fixed holes in self-intersecting splines, (from change to winding rule parameter interface) 2002-12-03 12:37:59 +00:00
xr.c Fixes for transformed images 2002-11-11 12:46:17 +00:00
Xr.h Fixes for transformed images 2002-11-11 12:46:17 +00:00
xrcolor.c Moved Xft/fontconfig code up from Xc to Xr. Added XrTextExtents 2002-10-30 21:54:50 +00:00
xrfiller.c Fixes for transformed images 2002-11-11 12:46:17 +00:00
xrfont.c Added group support. 2002-11-04 00:24:44 +00:00
xrgstate.c Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
xrint.h Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
xrmisc.c Various cleanups, (no functional changes). Changed arguments for XrRel* from x,y to dx,dy. Changed XrError to XrStatus. Added a prefix of '_' to all internal functions 2002-10-16 12:57:00 +00:00
xrpath.c Moved current point state to XrGState and dropped relative operators from XrPath. This is all in preparation for XrShowText, (which needs access to the current point) 2002-10-26 07:59:31 +00:00
xrpen.c Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
xrpolygon.c Fixed xrpolygon for multiple sub-polygons 2003-01-24 13:56:30 +00:00
xrspline.c Added XrConcatMatrix, XrGetStatus. Properly clip color, alpha, and tolerance values from the user. Renamed _XrTransformPointWithoutTranslate to _XrTransformDistance. Added new XrIntStatus type for error codes that are not exported. 2002-10-23 11:58:38 +00:00
xrstate.c Added group support. 2002-11-04 00:24:44 +00:00
xrstroker.c Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
xrsurface.c Fixes for transformed images 2002-11-11 12:46:17 +00:00
xrtransform.c Fixes for transformed images 2002-11-11 12:46:17 +00:00
xrtraps.c Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00

Xr - Rendering for X

Description
-----------
Xr provides anti-aliased vector-based rendering for X. Paths consist
of line segments and cubic splines and can be rendered at any width
with various join and cap styles. All colors may be specified with
optional translucence (opacity/alpha) throught the extended
Porter/Duff compositing algebra as found in the X Render Extension.

Dependencies
------------
Xr currently requires the following supporting libraries:

	Xc
	Xft
	fontconfig

Usage
-----
Xr exports a stateful rendering API similar in spirit to the path
construction, text, and painting operators of PostScript, (with the
significant addition of translucence in the imaging model). The API
was carefully designed to be easily understood with as little
additional explanation as possible. All functions take a minimal
number of arguments so that the number and order of arguments should
be easy to remember without the need to continually consult reference
documentation while developing with Xr.

Documentation
-------------
As mentioned above, we hope that users of Xr will be productive
without having to consult the documentation often. Ideally, a simple
glance at the Xr.h header file will provide enough information for the
programmer.

We'll see if we've been successful in our goal, since for the moment
the Xr.h header file is the only documentation that currently exists.

History
-------
Xr was developed by Carl Worth <cworth@isi.edu> and Keith Packard
<keithp@keithp.com>. Many thanks are due to Lyle Ramshaw without whose
patient help our ignorance would be much more apparent.