Commit graph

3297 commits

Author SHA1 Message Date
Carl Worth
4551d78c8f Expose functions for creating IcFormat based on IcFormatName or masks. The actual IcFormat struct is no longer exposed. Bump version number to 0.1.1 2003-09-05 15:24:45 +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
36307e49d4 Portability fix for OpenBSD (from Michael Schubert) 2003-09-05 10:17:22 +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
acb8ef11ce Changed DEPRECATE method to preseve binary compatibility, but break source-level compatibility. 2003-09-04 16:32:21 +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
66c091e706 Fixed DEPRECATE macro so that old programs will still work 2003-09-04 11:21:15 +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
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