Commit graph

358 commits

Author SHA1 Message Date
Carl Worth
b743ed0342 Several people have reported that cairo_clip is not working right now. And it's always been slow. 2004-05-11 06:52:19 +00:00
David Reveman
4162e1f16b Better surface pattern support 2004-05-11 05:31:16 +00:00
Carl Worth
1e20a2db0f Bail on NULL utf8 string.
Don't add two consecutive, identical points when decomposing the spline, (which was leading to an infinte loop in the stroke algorithm when it found a slope of (0,0)).
2004-05-07 18:52:01 +00:00
Carl Worth
9faef192af Leave clientClipType as CT_NONE if region is NULL (thanks to Vladimir Vukicevic <vladimir@pobox.com>). 2004-05-06 05:50:23 +00:00
Carl Worth
c7230543b0 (_cairo_png_surface_copy_page): Don't close a file we didn't open. 2004-05-04 12:00:22 +00:00
Carl Worth
7398aa8e1e Move all libpng-related code into copy_page. (unpremultiply_data): Add missing unpremultiply step. (_cairo_png_surface_copy_page): Move PNG output to copy_page. Add support for A8 and A1 images. Remove time from header (we may want to add it again later, but for now it messes up my test suite). (_cairo_png_surface_destroy): Call copy_page if it hasn't been called already. (_cairo_png_surface_show_page): Add implementation. 2004-05-04 09:25:54 +00:00
David Reveman
423ea55410 Corrected some confusing comments about the math used for radial gradients 2004-05-04 04:01:18 +00:00
David Reveman
1876568f20 cairo_surface_t pointer to cairo_surface_set_matrix 2004-05-01 05:50:46 +00:00
Carl Worth
c0df5d4b1a Don't set pattern_offset by the current point. Perhaps we can eliminate pattern_offset altogether now? 2004-04-29 22:09:05 +00:00
David Reveman
f516564f98 Updated linear and radial patterns 2004-04-29 20:26:56 +00:00
Carl Worth
c9c882d2b2 Added a BUG and a TODO item 2004-04-29 07:26:53 +00:00
David Reveman
09698566e1 Support compositing with mask surface when mask is solid or multi-texturing is available 2004-04-28 02:14:23 +00:00
David Reveman
37f6590708 Fixed conversion of pixman_box16_t to glitz_rectangle_t 2004-04-25 05:11:07 +00:00
David Reveman
f870f16e98 Converted shading routines to use fixed point values. 2004-04-25 04:02:37 +00:00
Carl Worth
c82011dddd Fixed several function prototype mismatches between internal header file and implementation (thanks to Carlos Romero and gcc-3.4). 2004-04-23 10:08:53 +00:00
David Reveman
e172b7cec7 Fixed pattern source offset 2004-04-22 02:22:36 +00:00
David Reveman
c15c7b9364 Fixed missing limits.h includes 2004-04-20 12:35:44 +00:00
Carl Worth
eff1670123 Added notes for snapshot 0.1.22.
Now depends on libpixman 0.1.1. Bump version to 0.1.22.
2004-04-16 08:56:45 +00:00
Carl Worth
b0f8dcdc83 Add RELEASING file 2004-04-16 08:52:00 +00:00
Carl Worth
a8106bae11 Add notes for snapshot 0.1.1
Increment LIBPIXMAN_VERSION to 0.1.1
2004-04-16 08:50:11 +00:00
Carl Worth
3a29d7a531 Track pixman fixes to PIXMAN_FORMAT_NAME_*.
Explicitly add cases for all enum values to eliminate compiler warnings.
Remove proposal for surface_clip interface as cairo_clip should be able to cover this case now.
Added bug concerning negative ref_counts.
2004-04-16 08:33:20 +00:00
Carl Worth
821a9f2f6c Fix bogus names such as PIXMAN_FORMAT_NAME_AR_GB32 that were left over from a broken search-and-replace. Normalize structure defintions, (eg. struct _pixman_region16_t -> struct pixman_region16). Normalize indentation.
Fix alphabetization.
2004-04-16 08:32:53 +00:00
David Reveman
aa83e5c2c1 Bump version to 0.1.21 2004-04-09 14:30:38 +00:00
David Reveman
73df0e81cb Added OpenGL surface backend 2004-04-09 14:19:47 +00:00
David Reveman
f713fe43cf Automatically detect available backends 2004-04-09 14:14:56 +00:00
Carl Worth
69b9f89da7 Add note that announcement needs to include the URL 2004-04-07 11:03:40 +00:00
Carl Worth
2e891bdd33 Added notes for snapshot 0.1.20.
Added new RELEASING file.
2004-04-06 20:13:11 +00:00
David Reveman
b26a742bcf Added new pattern API 2004-04-06 09:45:17 +00:00
David Reveman
e309090d2a Added new pattern API 2004-04-06 09:36:12 +00:00
Carl Worth
b17b04aa38 Move weight after slant to match the order in cairo_select_font.
Added notes on DPI for image-based backends and on proposal for new cairo_text_glyphs function.
Added BUG about cairo_show_text not advancing the current point.
2004-04-02 08:01:09 +00:00
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