Commit graph

224 commits

Author SHA1 Message Date
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
Carl Worth
859bfd03a6 Rename gstate->ppm to gstate->pixels_per_inch. Add new pixels_per_inch to the surface backend. 2003-10-28 12:18:29 +00:00
Carl Worth
8bb3f7664d Drop cairo_surface_create_similar_solid 2003-10-28 12:15:03 +00:00
Carl Worth
01378dab3e Fix bug from previous commit. Must check for NULL backend function pointers before calling them. 2003-10-28 12:13:35 +00:00
Carl Worth
9d052aa9ca Cleanup of surface->backend interface. Better type-safety and more consistent return-value handling. 2003-10-27 18:40:55 +00:00
Carl Worth
75282a5e21 Default to normal slant/weight on out-of-range values. Add missing include of fontconfig/fcfreetype.h 2003-10-27 18:32:44 +00:00
Keith Packard
99fd32a8d6 A HORRIBLE KLUDGE to repad glyph images from freetype to meet libic requirements. 2003-10-24 14:43:58 +00:00
Carl Worth
965ab2ff55 Fixes to eliminate a few compiler warnings. Bump version to 0.1.8 for recent font API changes. 2003-10-24 11:01:37 +00:00
Carl Worth
6498351f49 Create a font by default. Remove bogus NULL_POINTER status errors leaking to the outside. 2003-10-24 10:01:34 +00:00
Graydon Hoare
c5aace21fb missing file from commit 2003-10-23 15:27:40 +00:00
Graydon Hoare
c11a49a69e New file.
Add cairo_ft_font.c
Change to virtual font interface.
2003-10-23 15:22:28 +00:00
Carl Worth
223da5ea18 Updated TODO file 2003-10-23 07:51:41 +00:00
Carl Worth
2c9d1913cc Fixed copyright attribution to refer to "University of Southern California 2003-10-23 07:47:29 +00:00
Thomas Hunger
6aaa9dff25 added some types and enums, documented more functions 2003-10-19 08:46:21 +00:00
Thomas Hunger
007bbe56db started to document from top to bottom. most things are obvious 2003-10-16 10:54:34 +00:00
Thomas Hunger
8f7106a952 updated xml files to look more like gtk refence and introduced crossreferencing via script 2003-10-16 05:31:56 +00:00
Carl Worth
227bf48eff Added bug about self-intersecting paths. (Really, I'm just testing the cairo-commit mailing list) 2003-10-15 12:26:51 +00:00
Thomas Hunger
8ca1f1a825 commited documentation skeleton 2003-10-15 08:51:06 +00:00
Carl Worth
5f48214ad2 Add extern "C" stuff to cairo-xlib.h 2003-10-11 13:49:13 +00:00
Carl Worth
cdc84283e3 Stub out NULL_POINTER error so drawing to off-screen memory still works even though text does not yet. 2003-10-09 20:10:36 +00:00
Carl Worth
61726a88f2 Generate convex hull of pen before stroking. 2003-10-04 14:34:42 +00:00
Carl Worth
a249bd717c Remove abbreviation of "point" as "pt". Fix cairo_destrot, cairo_set_target_surface, and cairo_set_target_image to act appropriately in the face of non-zero status. 2003-10-04 09:06:15 +00:00