Commit graph

138 commits

Author SHA1 Message Date
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
1a6496eaec Portability fix for OpenBSD (from Michael Schubert) 2003-09-02 13:36:17 +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
Carl Worth
596d081d47 Add --enable-maintainer-mode to autogen.sh 2003-08-18 18:53:16 +00:00
Carl Worth
48db57aea6 Added better warning if pkg-config is not installed. Add --enable-maintainer-mode to autogen.sh 2003-08-18 18:52:46 +00:00
Carl Worth
e7eecebc27 Fixed to give a better warning if pkg-config is not installed 2003-08-18 18:45:24 +00:00
Carl Worth
9a68366825 Removed version requirements from dependencies on slim, libic, and Xft. 2003-08-05 05:04:27 +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
Richard Henderson
b7483e81a7 Define as __builtin_popcount when available. 2003-07-31 20:46:21 +00:00
Richard Henderson
2d51c71a79 Check for slim revision.
Depend on slim.
Don't include icimage.h.
Don't include ic.h.
Include slim_{export,import}.h as appropriate. Mark all symbols __external_linkage.
Include slim_import.h; mark symbols __internal_linkage; add slim hidden_proto declarations.
Mark all symbols __internal_linkage.
Likewise.
Provide hidden definition.
Likewise.
Likewise.
Likewise.
Likewise.
Make static.
2003-07-31 10:00:08 +00:00
Richard Henderson
f4dc2f2ee0 Attribute visibility not present until gcc 3.3. 2003-07-31 02:14:10 +00:00
Richard Henderson
7b1d999679 Make everything but IcComposite static.
Make everything except IcBuildCompositeOperand and IcCompositeGeneral static.
Make static. (IcLaneTable): Turn into a function. (IcBltOne): Make IcLane const. (icStipple24Bits): Make static.
Remove lots of now static declarations.
Likewise.
Make static. (icStipple2Bits, icStipple1Bits): Make static. (IcStippleTable): Turn into a function.
2003-07-31 02:11:33 +00:00
Carl Worth
a1e7245d74 Committing missed ChangeLog entry 2003-07-30 11:50:38 +00:00
Carl Worth
713f550a93 fixed some typos in the libic PKG_CHECK 2003-07-30 11:21:54 +00:00
Carl Worth
f4017c5857 Fixed IcRectangle to be compatible with XRectangle. 2003-07-30 10:54:44 +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
1ec2cb30f5 Removed false dependency on X. 2003-07-30 10:36:50 +00:00
Richard Henderson
e82a135aac New.
Add slim.pc.
New file.
2003-07-30 10:09:53 +00:00
Richard Henderson
b9be119a3f Run PKG_CHECK_MODULES on slim.
Require slim.
Mark hidden. (PixRegionCopy, PixRegionUnion): Mark hidden.
Include and use X11/Xfuncproto.h. Include slim_{export,import}.h as appropriate. Mark all functions with __external_linkage.
Rename include protect to _PIXREGIONINT_H_.
2003-07-30 10:06:34 +00:00
Richard Henderson
9fecd258a6 New file.
New file.
New file.
Add them.
Check for src/slim_export.h
2003-07-30 09:14:22 +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
2026b1c44a Initial commit of slim shell 2003-07-29 19:52:08 +00:00
Carl Worth
f605294dd3 Replaced CARD*/INT* datatypes with stdint types (vektor@dumbterm.net). 2003-07-29 14:45:20 +00:00
Carl Worth
47844ba222 Fixed to not munge some internal cairot names, (such as cairo_traps_*) 2003-07-26 20:38:58 +00:00
Carl Worth
953b708e2c Do nothing in cairo_show_text when using libic. 2003-07-25 23:16:31 +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
92284e4ac8 Fixed polygon tesselattion for some cases of incorrect sorting when two intersections are very near the same vertical position. 2003-07-19 05:19:32 +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
Anders Carlsson
4a57fd0881 Pass --enable-maintainer-mode to configure
Add compiler warning flags to CFLAGS.
2003-07-10 11:05:24 +00:00
Anders Carlsson
eefc5d5ec7 Add accessor for getting a pointer to the image data. 2003-07-08 17:06:15 +00:00
Anders Carlsson
42529a2c72 Add accessors. 2003-07-08 16:00:55 +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
bfdd0ab71b Cleanup of some stale unused code. 2003-05-28 19:31:30 +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