Commit graph

2979 commits

Author SHA1 Message Date
Carl Worth
1fa0a496bb Removed state from XrFiller that was redundant with state in XrPolygon. Fixed state update in XrStroker so that paths with multiple subpaths work. Simplified error-prone sorting in XrPenAddPoints. Renamed XrPenVertexTag to XrPenVertexFlag, (to allow for a single vertex that is the starting point for both the forward and reverse half-path). 2002-09-13 12:55:37 +00:00
Carl Worth
2ba3786b27 Fixed rendering of degenerate splines. Changed XrStrokeFace to define everything in terms of the direction of the path 2002-09-10 09:51:14 +00:00
Carl Worth
5f1938f26f Fixed spline error calculation. New effort to compute spline initial/final slopes even for degenerate splines, (degenerate splines are still broken somewhere though). 2002-09-10 08:01:00 +00:00
Carl Worth
44ca388c90 Fix polygon stroking so last final face is rendered exactly. Fix bug in which XrPolygonAddPt with horizontal edge would then drop the next edge. 2002-09-05 13:12:23 +00:00
Carl Worth
bc362fc2e4 Corrected XrPenVerticesNeeded for handling transformed pens 2002-09-05 10:06:44 +00:00
Carl Worth
34ab06281f Fixed brain-damaged XrPenVertexCompareByTheta. Correctly handle degenerate miter joins 2002-09-04 16:11:35 +00:00
Carl Worth
13216da122 Fixed pen to transform user-space radius to device space, (vertices_needed computation still broken). Pen now behaves well when an extra point is coincident with an original vertex point. 2002-09-04 07:28:56 +00:00
Carl Worth
cf6f2e67d9 Added initial spline support. Added XrSetTolerance 2002-09-03 08:42:25 +00:00
Keith Packard
25011eade4 Add dashed line support. Needs work to simplify some case analysis. 2002-08-18 22:55:58 +00:00
Carl Worth
f20a4a96c7 Fixed XrPen stubs 2002-08-15 17:33:00 +00:00
Carl Worth
2d8f2f4946 Added xrpen/xrspline 2002-08-15 17:30:03 +00:00
Carl Worth
c1c7ee62bc Cleaned up XrPathInterpret. Prepare for splines 2002-08-15 17:29:26 +00:00
Keith Packard
20f631ce22 Add dashes, collapse stroke_style/fill_style into gstate 2002-08-15 17:19:28 +00:00
Keith Packard
ba6c497130 Fix combined transforms, fix caps/joins under transform 2002-08-15 16:48:16 +00:00
Carl Worth
91f09687e5 Added error handling (Xr shutdown) for out-of-memory handling. Started adding spline functions. 2002-08-15 05:22:59 +00:00
Keith Packard
ba3bce9d7e Note that the only rectangles could be quickly converted to traps. Add miter joins 2002-08-15 03:50:28 +00:00
Keith Packard
e55de618e7 Add bevel joins 2002-08-14 19:19:33 +00:00
Keith Packard
6b1903c40e Prepare for joins and caps 2002-08-14 18:32:42 +00:00
Carl Worth
71b804a301 Fixed XrFill to implicitly call ClosePath. Broke off XrFillStyle/XrStrokeStyle 2002-08-14 17:32:22 +00:00
Carl Worth
466fc8700f Handle degenerate polygons (no edges) 2002-08-14 00:44:28 +00:00
Carl Worth
48bd9e5d30 Total rewrite of path storage/interpretation in preparation for splines. 2002-08-14 00:39:43 +00:00
Carl Worth
9824dc8944 Fixed XrPathClose to deal with empty path 2002-08-12 11:43:56 +00:00
Carl Worth
c2824c4ded Stabilized the sort used to generate traps. Discard degenerate traps 2002-08-12 09:38:05 +00:00
Carl Worth
c44bf18e78 Fixed missing semicolon. 2002-08-07 19:49:36 +00:00
Carl Worth
9ee45ab816 Fixed missing xrtraps.c 2002-08-07 19:48:49 +00:00
Carl Worth
f7f194c47d Added ChangeLog 2002-07-23 07:22:56 +00:00
Carl Worth
f8fef556d7 See ChangeLog for 2002-07-16 2002-07-23 07:22:23 +00:00
Carl Worth
093b754cb1 Added XrSetVisual, XrSetFormat. Fixed XrSetAlpha. Fixed transformed line widths, (added inverse CTM). 2002-06-14 15:13:44 +00:00
Carl Worth
00807705bf Initial import of Xr 2002-06-11 04:02:23 +00:00