Commit graph

328 commits

Author SHA1 Message Date
Carl Worth
72667ec568 Add -lz. 2004-03-30 18:55:48 +00:00
Carl Worth
9459871bbf Add checks for Xrender.h in xrender.pc is not found. Remove AC_HELP_STRING to be compatible with older versions of autoconf (thanks to Bill Spitzak <spitzak@d2.com>). 2004-03-30 18:45:00 +00:00
Carl Worth
76478e4ad0 Add question on semantics with empty region. Fix missing return value.
Export for internal use. (_cairo_image_abstract_surface_set_clip_region): Add silly wrapper to match the backend interface.
Remove unused variables.
2004-03-30 17:49:30 +00:00
Carl Worth
c7d2b0e053 Add proposal for cairo_xlib_surface_set_size.
Added note about problem with cairo_scale_font.
2004-03-30 17:24:29 +00:00
Olivier Andrieu
3cd2547493 Implement _set_clip_region by delegating it to the image backend.
Add a stub.
Add missing (?) cairo_init_clip
2004-03-23 10:33:32 +00:00
Øyvind Kolås
e576aeb222 cairo usage is crashing Xnest 2004-03-22 17:56:35 +00:00
Dave Beckett
1d51df5713 Move the PNG_CFLAGS/_LIBS substitutes outside the conditional, to match what is already done for XCB. Do the same for XRENDER_CFLAGS/LIBS. 2004-03-20 09:54:15 +00:00
Dave Beckett
ad255ad599 Substitute PNG_CFLAGS, PNG_LIBS on the configure path when use_png is not enabled to prevent the substituions being undefined. 2004-03-20 08:20:40 +00:00
Graydon Hoare
94551db67c Add.
finalize and copy clip.region. Detect rectangular clips and push down to backend.
Add set_clip_region slot. (cairo_clip_rec_t): Add region slot. (_cairo_gstate_init_clip) (_cairo_surface_set_clip_region): Prototype.
Add.
Add.
Add.
not implemented.
2004-03-19 15:47:25 +00:00
Jamey Sharp
9e793ee5fc Fixed for latest XCB API. XCB headers can co-exist with Xlib headers now, so Cairo may be compiled with both backends in the same library. http://freedesktop.org/Software/XCBCompletedTasks#17_Mar_2004 2004-03-17 09:44:26 +00:00
Thomas Hunger
e7f3335baf added missing links for rectangle and curve_to function 2004-02-26 14:47:21 +00:00
Thomas Hunger
f1b56497b1 added functions to describe the new backends, added text_extents function 2004-02-26 14:32:12 +00:00
Carl Worth
0232902958 Fix typo 2004-02-26 08:55:03 +00:00
Carl Worth
529b16f119 Add Jordi and Olvier to the AUTHORS file.
Fix broken return value for nchars (thanks to Jordi Mas <jordi@ximian.com>).
2004-02-26 08:54:42 +00:00
Olivier Andrieu
bd5c27207a forgot the SUBST for PNG_REQUIRES 2004-02-24 12:39:29 +00:00
Olivier Andrieu
995097752e PNG backend 2004-02-24 12:29:25 +00:00
Olivier Andrieu
3b85dd1f9d Add PNG backend (cairo_set_target_png and cairo_png_surface_create). 2004-02-24 12:28:49 +00:00
Olivier Andrieu
0a07e28683 autoconf support for the PNG backend. Bump version to 0.1.19. 2004-02-24 12:27:52 +00:00
Olivier Andrieu
13911e3d67 PNG backend support, removed references to X_LIBS and X_CFLAGS. 2004-02-24 12:27:13 +00:00
Carl Worth
cf069c127a Fix email address for Anders Carlsson. 2004-02-24 12:22:56 +00:00
Carl Worth
0e02e71cf5 Add attribution for many people who have made generous contributions to cairo. This list was generated by sifting through the ChangeLog. Please let me know if I have missed anyone.
Add some historical notes on cairo development, prior to when we began to maintain this NEWS file.
Add pointer to cairographics.org. Fix to use cairo rather than Cairo when not at the beginning of a sentence.
Remove cairo_current_path, cairo_current_path_flat, cairo_text_extents, cairo_glyph_extents, cairo_text_path, and cairo_glyph_path from the TODO list as they have all been implemented now.
2004-02-24 10:45:26 +00:00
Carl Worth
431548c3d8 Added attribution for several authors after sifting through the ChangeLog. 2004-02-24 10:41:11 +00:00
Thomas Hunger
faa4392661 applied patch from Ravindra fixing missing lines in doc.xml 2004-02-24 07:18:45 +00:00
Thomas Hunger
554726563f added missing xml/cairo_set_target_image.xml 2004-02-20 14:23:17 +00:00
Carl Worth
c3fe1bbe33 Add comment indication cairo_copy will be going away at some point. Some indentation fixes. 2004-02-17 18:47:34 +00:00
Carl Worth
122b2d8504 Bump version to 0.1.18. Includes new functions cairo_current_path, cairo_current_path_flat, cairo_surface_get_filter. Support for XCB backend. Fixes for building in cygwin. Adds cairo_surface_get_filter.
Add new path query functions.
Implement support for cairo_current_path and cairo_current_path_flat. These functions just provide an interface to _cairo_path_interpret and take care of mapping from device space back to user space.
2004-02-17 18:38:23 +00:00
Carl Worth
9349c95f28 Add some notes from JG's TODO list on the wiki: http://cairographics.org/CairoToDoList. (Also testing automated mailing to cairo-commit list). 2004-02-13 06:13:19 +00:00
Carl Worth
b55f107679 Add typedefs for new callbacks to be used by cairo_current_path: cairo_move_to_func, cairo_line_to_func, cairo_curve_to_func, and cairo_close_path_func.
cairo_path.last_move_point and cairo_path.current_point are now fixed-point not doubles for consistency.
Now accept 4 explicit function pointers rather than a structure. Eliminate unnecessary done_path callback.
Track change in _cairo_path_interpret. Code previously in done_path callback is now here immediately after call to _cairo_path_interpret.
Internal _cairo_path API modified to accept fixed-point data everywhere. Much cleaner this way.
Have to convert doubles to fixed-point to track changes in _cairo_path API.
Keep data in fixed-point rather than going through intermediate doubles. Track changes in _cairo_path API.
New function to help when working with freetype.
2004-02-12 19:02:33 +00:00
Jamey Sharp
810037bc7c Ported the Xlib surface backend to XCB. 2004-02-02 23:24:14 +00:00
Graydon Hoare
34e0e7eec8 New predicate. (_cairo_xlib_surface_set_filter): Skip filterless servers. (_cairo_xlib_surface_clone_similar): Fix typo. 2004-02-02 11:20:44 +00:00
Graydon Hoare
b66bbf4879 New "filter" field.
New function. (cairo_surface_set_filter): Store filter in surface.
Declare.
Copy filter setting. (_cairo_xlib_surface_set_filter): Use constants from Xrender.h
2004-01-30 14:44:18 +00:00
Carl Worth
62520eb2d1 Fix to use tessellate_polygon instead of tessellate_rectangle as the matrix may have skewed the coordinates into a non-rectangular shape. 2004-01-24 01:56:26 +00:00
Carl Worth
f1d98d27a6 Remove dead-code (useless n++). 2004-01-24 01:50:55 +00:00
Carl Worth
f05248faef Add missing break statements to switch. 2004-01-24 01:46:20 +00:00
Thomas Hunger
6d465f4e43 added and updated documentation concerning text handling 2004-01-23 14:13:20 +00:00
Richard Worth
077fcb36da Add '-no-undefined' to end of libpixman_la_LDFLAGS tp enable building shared libary under cygwin.
Remove all 'extern ' and ' __external_linkage' (macro for __declspec(dllexport) and __declspec(dllimport)) from function declarations. These are no longer needed for cygwin.
2004-01-22 21:05:08 +00:00
Richard Worth
5c490d2160 Add '-no-undefined' to end of libcairo_la_LDFLAGS to enable building shared library under cygwin.
Remove all 'extern ' and ' __external_linkage' (macro for __declspec(dllexport) and __declspec(dllimport)) from function declarations. These are no longer needed for cygwin.
Changed type of _line_segs_intersect_ceil from 'static cairo_fixed_t' to 'static int' to match definition. This was necessary to compile under cygwin.
2004-01-22 20:47:24 +00:00
Carl Worth
22792e2e7a Remove trailing commas from enum, (some compilers like to complain about this). 2003-12-17 13:17:13 +00:00
Carl Worth
decf8b395c Remove trailing commas from enums, (some compilers like to complain about them). 2003-12-17 12:59:37 +00:00
Dave Beckett
2eb2408ca7 Replace requiring libpixregion, libic with libpixman. 2003-12-16 09:42:19 +00:00
Carl Worth
75a7541cf1 Fix typo 2003-12-16 08:29:01 +00:00
Carl Worth
aa7c663ea8 Add more notes culled from the ChangeLog. 2003-12-16 08:27:17 +00:00
Carl Worth
a194d9ecd4 Begin maintaining NEWS file. Add notes on 0.1.17. 2003-12-16 08:06:49 +00:00
Carl Worth
fb93261e37 Bump version to 0.1.17 for new functions: cairo_text_extents, cairo_glyph_extents, cairo_text_path, cairo_glyph_path.
Re-enable cairo_text_path and cairo_glyph_path.
Add missing transformation.
Initial implementation of glyph_path.
2003-12-16 07:20:20 +00:00
Carl Worth
bf40046a4e Move all current_point state fields from cairo_gstate_t to cairo_path_t.
Add current_point state. (_cairo_path_current_point): New function. (_cairo_path_rel_move_to): (_cairo_path_rel_line_to): (_cairo_path_rel_curve_to): New functions.
Eliminate current_point state. (_cairo_gstate_show_text): (_cairo_gstate_text_path): Use new _cairo_path_current_point.
2003-12-16 07:10:48 +00:00
Carl Worth
b5983fab84 A couple of changes missed in the last batch of commits (reordering so that path is final argument). 2003-12-16 06:58:10 +00:00
Carl Worth
368b4d269b Change cairo_font_backend_t to use a void * for the abstract font. Put create, copy, and destroy as the first functions in the list. Fix text_path and glyph_path so that the path to be returned is the last argument. Add x,y arguments to text_path.
Compute x,y now needed by cairo_font_text_path. (_cairo_gstate_glyph_path): Track change in cairo_font_text/glyph_path (path argument is now last).
Switch to new macro-based mechanism for including freetype headers. (cairo_ft_font_face): (cairo_ft_font_pattern): Minor cleanup. (_cairo_ft_font_copy): (_cairo_ft_font_destroy): (_utf8_to_glyphs): (_cairo_ft_font_font_extents): (_cairo_ft_font_glyph_extents): (_cairo_ft_font_text_extents): (_cairo_ft_font_show_glyphs): (_cairo_ft_font_show_text): Track changes to cairo_font_backend_t interface.
Track changes to cairo_font_backend_t interface.
2003-12-16 06:50:37 +00:00
Carl Worth
c18a81e252 Change instances of Cairo to cairo where necessary. Add note about broken dashing on splines. 2003-12-16 06:15:53 +00:00
Carl Worth
dea75c8333 Rename cairo_text_exextents_t fields: left_side_bearing -> x_bearing ascent -> y_bearing right_side_bearing (replaced by) width descent (replaced by) height 2003-12-15 19:00:15 +00:00
Carl Worth
39bb4f1d99 Need to divide out the scale factor to return user-space extents. (_cairo_gstate_glyph_extents): Don't transform glyph locations as they're not relevant to extents.
Clean up implementation. (_cairo_ft_font_glyph_extents): Initial implementation. Thanks to John Ellson <ellson@research.att.com> for most of the work on this function. (_cairo_ft_font_show_text): Clean to use num_glyphs not nglyphs.
Re-enable cairo_text/glyph_extents.
2003-12-15 18:26:51 +00:00