Commit graph

61 commits

Author SHA1 Message Date
Carl Worth
d3db983ab2 Fixed massive pixmap leak 2003-09-16 10:28:46 +00:00
Carl Worth
7e46e8e6ca Add cairo_reference and cairo_surface_reference 2003-09-16 06:45:19 +00:00
Carl Worth
ee4bb02015 Force explicit dependency on Xrender >= 0.6. Make _cairo_x11_surface_put_image static. 2003-09-15 13:17:32 +00:00
Carl Worth
9c5be2cf31 Fix for invalid restore from keithp. Began adding notes on arc support. 2003-09-15 07:55:10 +00:00
Carl Worth
1154ac5b59 Don't try to create depth-32 pixmaps on non-Render servers. Fix massive memory leask in _cairo_surface_push_image. 2003-09-15 07:29:44 +00:00
Carl Worth
e540d4c44f Updated calls to slim_hidden_def to track changes in slim 0.2.0 2003-09-09 17:38:10 +00:00
Carl Worth
5b5c172803 Preliminary support for running Cairo with X servers without the Render extension. This is still horribly slow. Removed many uses of X-specific macros, (eg. XDoubleToFixed) 2003-09-05 15:29:49 +00:00
Keith Packard
7e9a0f9cf3 comment face computations, check for reflecting transformation to select correct face orientations
check for reflecting transform when computing pen to ensure consistent pen orientation
2003-09-05 13:25:46 +00:00
Carl Worth
67275336bf Added cairo_copy. Bumbed version to 0.1.2. 2003-09-05 08:35:08 +00:00
Carl Worth
196388abe6 Fix crash in show_text due to missing call to ensure_source. 2003-09-05 07:16:45 +00:00
Carl Worth
c25eea6f10 Fixed bugs if cairo_stroke/fill called before cairo_set_rgb_color or cairo_set_target. Also fixed bug when cairo_set_rgb_color is called before cairo_set_target. 2003-09-04 16:27:34 +00:00
Keith Packard
6f731e2758 added comments describing miter join code and miter limit computation. Replace XFoo with cairo_foo for double and fixed
add cairo_fixed_to_double and cairo_double_to_fixed Carl says he's got similar code, so he'll have to fix things if I get this committed quickly enough.
2003-09-04 11:54:09 +00:00
Carl Worth
bbe8f9330b Added cairo-api-update script. 2003-09-04 06:53:02 +00:00
Carl Worth
b9c3be7678 Changed names of all cairo_get_* functions to cairo_current_*. Added magic DEPRECATE macro so that using the old names will give useful warnings/errors. Bumped version number to 0.1.1 2003-09-04 06:52:01 +00:00
Carl Worth
1568c818da Add implementation of cairo_get_matrix 2003-09-03 07:14:18 +00:00
Carl Worth
44b3c4ca78 Optimized _cairo_surface_composite for compositing local memory surface with an X11 server surface. 2003-08-29 17:57:08 +00:00
Carl Worth
0ed4d32d87 Fixed to use fabs not abs. Added pointer to Hobby's intersection paper. 2003-08-29 17:48:48 +00:00
Keith Packard
2ee2cfe14a font pixel size is always non-negative 2003-08-28 14:12:08 +00:00
Carl Worth
4d399b9aca Added missing underscores to several internal functions. 2003-08-26 07:40:17 +00:00
Carl Worth
daf4141a03 Fixed anchoring/transformation of pattern for stroke/fill. 2003-08-26 07:14:40 +00:00
Richard Henderson
83d5f0352c Mark const.
Likewise.
Likewise.
Likewise for cb.
2003-07-31 22:49:09 +00:00
Richard Henderson
9289e8a77a Depend on slim.
Check for slim.
Include slim_{export,import}.h as needed; mark all symbols __external_linkage.
Include slim_internal.h; mark all symbols __internal_linkage. Provide slim_hidden_proto symbols as needed.
Provide slim_hidden_def symbols as needed.
Mark static. (cairo_traps_add_trap_from_points): Likewise.
2003-07-31 22:41:44 +00:00
Carl Worth
713f550a93 fixed some typos in the libic PKG_CHECK 2003-07-30 11:21:54 +00:00
Carl Worth
b86e8f5a0c Fixed a disagreement over whether some internal cairo_gstate_t functions had an '_' prefix or not. 2003-07-30 10:48:27 +00:00
Carl Worth
e97cfd5eae Made all changes necessary to abandon the Xc library, (sucking the functionality up into cairo_surface_t instead). Eliminated most of the remaining X datatypes (XFixed, XPointFixed, XLineFixed, XTrapezoid). Fixed some numerical problems relating to pen initialization and intersection calculation. 2003-07-30 08:30:50 +00:00
Carl Worth
91739aa148 Fix error correction on intersection test to avoid needless spinning. 2003-07-25 13:29:07 +00:00
Carl Worth
cf24f32a51 Massive cleanup of polygon tessellation 2003-07-24 01:40:16 +00:00
Carl Worth
ee146c4740 Introduced cairo_fixed_*_t types. Converted several functions from floating to fixed point. 2003-07-23 21:20:24 +00:00
Carl Worth
6ef8b5cdf4 Better fix for the previous bug. More complete and more efficient. 2003-07-19 14:02:43 +00:00
Carl Worth
84ed2d465f Fixed some inconsistent tag/typedef names I missed the first time. 2003-07-18 12:42:49 +00:00
Carl Worth
dc1e96ae35 Renamed everything from Xr* to cairo_* 2003-07-18 11:34:19 +00:00
Carl Worth
a18f4ea75b Added XrMatrixGetAffine 2003-07-03 08:22:44 +00:00
Carl Worth
1fc2dabbd0 Added XrGetRGBColor and XrGetAlpha 2003-07-03 08:12:51 +00:00
Carl Worth
991d444754 Scaling by 0 now causes an InvalidMatrix error 2003-06-11 23:43:29 +00:00
Carl Worth
528c1aceb1 Added XrSurfacePutImage. Fixed missing translation of clip region. 2003-05-28 19:28:53 +00:00
Carl Worth
c988feb05d Changed default matrix to be 3780 user units per 1 meter physical device 2003-05-15 21:16:26 +00:00
Carl Worth
dfc84ef829 Added XrSetTargetImage. Removed _XrGStateSetTargetDrawable, (now implemented as a convenience function in xr.c) 2003-05-14 21:59:42 +00:00
Carl Worth
b3b306dfd9 Added toplevel functions for setting surface matrix, filter. Introduced new XrMatrix object. Fixed to properly hint scaled fonts. 2003-05-14 18:30:57 +00:00
Carl Worth
8f10ce3013 Added XrSetPattern 2003-05-12 09:46:57 +00:00
Carl Worth
078e552da8 XrStroke and XrFill now both go through the same clipping. Cleaned up the three path interpreters (stroke, fill, and bounds), to each be in their own files 2003-05-12 09:24:17 +00:00
Carl Worth
292d7bd9ba Changed XrFormatRGB32 to XrFormatRGB24 2003-05-02 14:07:41 +00:00
Carl Worth
9c814d23d6 Added several query functions. Experimental clip support (still incomplete) 2003-05-01 08:18:25 +00:00
Carl Worth
c5b28ba63c Fixed libtool versioning 2003-04-25 13:34:00 +00:00
Carl Worth
ee738deaf6 Switched to autotools. Dropped XrPush/PopGroup. Supports non-X Xc rendering. 2003-04-17 13:24:29 +00:00
Carl Worth
d084434770 Fixed transformed images to not be 1 pixel too big 2003-02-14 07:22:19 +00:00
Carl Worth
d4ba730ba2 Fixed algebra used by XrPenVerticesNeeded to avoid sqrt() of negative numbers. 2003-02-06 08:06:28 +00:00
Carl Worth
a4b439eb69 Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. 2003-01-28 13:49:57 +00:00
Carl Worth
1507f1c795 Added triangle tessellation. Converted bevel joins from polygons to triangles. 2003-01-28 07:23:54 +00:00
Carl Worth
214662761e Fixed miter limit handling. Added local.def 2003-01-24 13:52:01 +00:00
Carl Worth
cdae3ba615 Fixed holes in self-intersecting splines, (from change to winding rule parameter interface) 2002-12-03 12:37:59 +00:00