Dave Beckett
9b086c3330
Updated for libpixregion,libic to libpixman source merges. Added -I$(srcdir) so we get internal headers from here even when srcdir != builddir.
2003-12-09 16:06:52 +00:00
Dave Beckett
d5bcf9e4f0
Updated for libpixregion,libic to libpixman package name, dependencies.
2003-12-09 16:05:24 +00:00
Dave Beckett
43129191fe
Merge of libic, slim AUTHORS, COPYING, README
2003-12-09 15:59:18 +00:00
Carl Worth
f59f92836c
Allow names of all autofoo programs to be overridden via environment variables.
2003-12-08 18:07:56 +00:00
Carl Worth
0949a86dd1
Track change in cairo_path_callbacks interface.
2003-12-08 17:39:32 +00:00
Carl Worth
08553e75b7
Clean up cairo_path_callbacks to have move_to, line_to, curve_to, abd close_path instead of add_edge, add_spline, and done_sub_path. Much, much nicer.
...
Provide cairo_polygon_move_to and cairo_polygon_line_to instead of cairo_polygon_add_point.
Track change in cairo_polygon interface.
2003-12-08 13:38:26 +00:00
Carl Worth
6aff3cbf96
Bump version to 0.1.16 since it actually has a hope of building, (due to fix for broken cairo-xlib.h includes).
2003-12-08 12:31:22 +00:00
Carl Worth
76e2cd9a74
Don't include obsolete cairo-xlib.h.
2003-12-05 10:47:42 +00:00
Carl Worth
97666464c0
Allow names of all autofoo programs to be overridden via environment variables.
2003-12-05 10:30:39 +00:00
Carl Worth
928095693b
Bump version to 0.1.15 for new CAIRO_HAS_XLIB_SURFACE macro.
...
Add missing #include <cairo-features.h>
Rename cairo-config.h to cairo-features.h.
Rename XLIB_BACKEND_DEFINE to XLIB_SURFACE_FEATURE. Rename AM_CONDITIONAL HAVE_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. Rename user-visibile macro CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE.
2003-12-05 08:53:07 +00:00
Carl Worth
aae17d3b6b
Bumped version to 0.1.14 to indicate dropped cairo-xlib.h and new cairo-config.h.
...
New support for "./configure --without-x" to compile without the xlib backend. Many thanks to Sasha V. <sasha@aftercode.net>.
We do three things here: Make the pkg-config check for xrender conditional, set XLIB_BACKEND_DEFINE to either CAIRO_HAS_XLIB_BACKEND or CAIRO_HAS_NO_XLIB_BACKEND to be substituted into cairo-config.h, and set an AM_CONDITIONAL for HAVE_XLIB_BACKEND to enable conditional compilation of cairo_xlib_surface.c. Perhaps that could be simplified a tad, but it's what we have working now. Also split up various PKG_CHECK_MODULES into separate checks.
Remove errant reference to cairo_gstate_set_drawable.
Move xlib-specific calls in from old cairo-xlib.h, now guarded in #ifdef CAIRO_HAS_XLIB_BACKEND.
Make compilation of cairo_xlib_surface.c conditional. (INCLUDES, libcairo_la_LIBADD): Add the new variables from splitting up the PKG_CHECK_MODULES calls.
2003-12-03 12:27:44 +00:00
Carl Worth
9cf63b0390
Add -lz for the compress function used in the PS backend.
2003-12-03 07:14:59 +00:00
Keith Packard
ae96c8ab92
Add note about degenerate path caps being broken
2003-12-01 10:59:57 +00:00
Carl Worth
3369c676f0
Bump version to 0.1.5 for new 64-bit fixes.
...
One more fix needed for 64-bit machine (alpha in this case). Thanks to Jakub Bogusz <qboosh@pld-linux.org>.
2003-11-25 07:45:34 +00:00
Carl Worth
765a1ad0fd
Use 0 and 1 not False and True, (to avoid false dependency on X headers).
...
Use cairo_point_double_t not XPointDouble, (to avoid false dependency on X headers). Thanks to "Sasha V." <sasha@aftercode.net> for pointing these out.
2003-11-21 06:22:02 +00:00
Carl Worth
567f28e62a
Bump version to 0.1.13 for new freetype header compatibility. Fix comments regarding freetype version checking.
2003-11-18 13:21:29 +00:00
James Henstridge
a26c3d4a59
add FREETYPE_CFLAGS/LIBS to Libs/Cflags rather than requiring "freetype2", which doesn't exist in anything but the most recent version of freetype.
...
add freetype cflags/libs substitutions.
2003-11-18 07:28:16 +00:00
Carl Worth
97cfea914d
Fix build for new freetype header include mechanism, (thanks to Christof Petig <christof@petig-baender.de>)
2003-11-18 06:18:05 +00:00
Carl Worth
75ced44ae0
Fixes needed to compile libic on x86_64. Many thanks to David R Bacon <dbacon@cis.ksu.edu>.
2003-11-17 07:43:06 +00:00
Carl Worth
f27af5d98d
Remove infinite looping when stroking with a line width at or close to 0.0. Thanks to Rob Buis <buis@kde.org> and Noah Levitt <nlevitt@columbia.edu> for providing in-the-wild examples of SVG files with stroke-width:0 that demonstrated the problem, (cowboy.svg and albania.svg).
...
Do nothing if the pen is a degenerate, single point. This happens when the line width is a very small, non-zero value.
Do nothing when asked to stroke a path with a line_width of 0.0. Previously, this would lead to an infinite loop.
Force negative line width to 0.0.
Updated TODO list.
2003-11-17 07:04:15 +00:00
Carl Worth
399803d067
Fix typo (thanks to John Ellson <ellson@research.att.com>)
...
Add TODO items for intersection problem, programmatic patterns, missing text functions.
2003-11-10 08:16:34 +00:00
Dave Beckett
9aa2d445b7
Use freetype-config to get the freetype2 compiling and linking flags rather than use pkg-config which requires a quite new freetype2 to get freetype2.pc
2003-11-08 10:28:04 +00:00
Carl Worth
f0d9ab5b29
Move declaration to beginning of function to avoid requiring a C99-compatible compiler.
2003-11-07 11:03:09 +00:00
Carl Worth
f86a979b49
Bumped version to 0.1.12 for new cairo_in_stroke and cairo_in_fill functions.
...
Added new cairo_in_stroke and cairo_in_fill.
* src/cairo_gstate.c (_cairo_gstate_in_stroke): (_cairo_gstate_in_fill): New functions to support for cairo_in_stroke and cairo_in_fill. Many thanks to Thomas Hunger <info@teh-web.de> for the initial implementation which demonstrated how easy this would be and pushed me to go and write it already.
Fixed to use _cairo_fixed_from_double instead of XDoubleToFixed.
2003-11-06 18:33:28 +00:00
Carl Worth
a3ad052795
Move declaration to beginning of function to avoid requiring a C99-compatible compiler.
2003-11-06 13:32:15 +00:00
Carl Worth
7262e1554f
Add comment pondering memory management semantics of cairo_current_target_surface.
...
NULL out pen->vertices after free.
NULL out durface->data after free.
2003-11-06 12:53:39 +00:00
Carl Worth
3262cd9f95
Removed stale version from ic.h. Better to have no version listed than the wrong one.
2003-11-06 07:56:10 +00:00
Carl Worth
443b8cb6a2
Enable cairo_set_target_surface (cr, NULL) to work. This can be useful to force the current target surface to be finalized.
2003-11-04 10:46:45 +00:00
Carl Worth
05b3992429
Add explicit fontconfig and freetype2 dependencies that were implicitly dropped along with Xft.
2003-11-04 08:58:53 +00:00
Carl Worth
9e25bb231c
TODO: Note that cairo_show_page, cairo_copy_page, PostScript backend, real text API, and text support for the image backend have now all been implemented.
2003-11-04 08:36:03 +00:00
Carl Worth
8d88d5da17
Fix configure.in and cairo.pc.in now that cairo no longer depends on Xft.
2003-11-04 08:33:45 +00:00
Carl Worth
7765a3c676
Add support for cairo_copy_page. Fixes so PS output can be more than one page. Bump version to 0.1.11 for new cairo_copy_page.
2003-11-03 19:17:31 +00:00
Carl Worth
aa40d2e2e1
Add several missing checks for out of memory
2003-11-03 18:24:45 +00:00
Carl Worth
cbc1ea78d6
Added __external_linkage to a few functions that were missing it.
2003-11-03 13:44:53 +00:00
Carl Worth
0819fbb164
Add IcImageGetDepth. Bump version to 0.1.3
2003-11-01 05:23:55 +00:00
Carl Worth
51da155707
Fix misplacement of PS origin, (was translating vertically by width instead of height).
2003-10-31 21:56:14 +00:00
Carl Worth
c6255f9c29
Implemented preliminary PostScript output support. Added cairo_show_page. Bumped version number to 0.1.10
2003-10-31 21:30:35 +00:00
Carl Worth
9736375a7a
Do nothing when radius <= 0.0, (which is much better than the current infinite loop).
2003-10-31 19:27:33 +00:00
Carl Worth
32df4d217d
Moved all libic-related drawing into cairo_image_surface.c
2003-10-31 10:41:37 +00:00
Carl Worth
6dca2ab9d3
Fixed a few memory leaks
2003-10-30 18:39:20 +00:00
Carl Worth
eb40d4b82e
Update copyright information in COPYING
2003-10-30 13:28:34 +00:00
Carl Worth
5a9cf4f1a1
A set of changes to eliminate the static FT_Library field, (which could introduce nasty problems with respect to threading). With the new code, each font created with the toy API will own its own FT_Library. Meanwhile, cairo_ft_font_create now accepts an FT_Library parameter.
...
Bumped version number to 0.1.9
2003-10-30 12:39:49 +00:00
Carl Worth
fb46d7390e
A few cleanups to eliminate a memory leak.
2003-10-30 10:55:04 +00:00
Carl Worth
5edcd47a91
A few cleanups to eliminate a memory leak.
2003-10-30 10:55:04 +00:00
Carl Worth
249ff3fb38
Drop AC_CONFIG_AUX_DIR(config) as it was confusing "make distcheck"
2003-10-29 12:50:02 +00:00
Carl Worth
fb811db0d2
Drop AC_CONFIG_AUX_DIR(config) as it was confusing "make distcheck"
2003-10-29 12:21:14 +00:00
Carl Worth
22c167e00f
Fix memory leak of image->transform. Remove currently unused DevUnion type and IcImageChange function.
2003-10-29 10:54:26 +00:00
Carl Worth
b806ea9d1b
Bumped version to 0.1.2 to indicate new IcOperator type.
2003-10-29 10:46:10 +00:00
Carl Worth
ece5507937
Patch from Bryan Worth <bryan@theworths.org> to eliminate lots of leftover, undesired dependencies on X header files.
2003-10-29 10:45:02 +00:00
Carl Worth
cf882f5d73
Updated stale text in README
2003-10-28 17:32:44 +00:00