cairo/src
Vladimir Vukicevic 68ed40b6da Win32: Fix up src coords before calling AlphaBlend/BitBlt to avoid invalid calls
Fixes up src coords and width/height before calling AlphaBlend/BitBlt; it's
an error to try to use a region that extents outside of the source surface
as a source DC.

Doesn't repair the extra region relative to the operator -- e.g. regions
outside of an ARGB source surface with SOURCE operator should be cleared
to fully transparent black in the destination.
(cherry picked from bc19c5b64b0e38e9d20045907d7b47d79f6afc60 commit)
2006-02-27 13:47:20 +01:00
..
.gitignore Rename .cvsignore to .gitignore. Add *~ and *.o. 2006-02-15 15:00:26 -08:00
cairo-arc-private.h Add cairo_private to several function prototypes that were missing it. 2005-08-09 13:01:14 +00:00
cairo-arc.c correct the calculation of the error bound. 2005-08-22 16:50:30 +00:00
cairo-array.c Here is a cleaner implementation of the _cairo_array_t change which was previously committed inadvertently. 2005-12-21 16:35:32 +00:00
cairo-atsui-font.c Misc compilation fixes (C++-style comments, M_PI decls, etc.) 2006-02-27 12:22:33 +01:00
cairo-atsui.h Bring the ATSUI backend up to date wrt the new font backend changes. Also, add cairo_atsui_font_face_create_for_atsu_font_id which takes an ATSUFontID and returns a cairo_font_face_t. 2005-09-30 08:31:36 +00:00
cairo-beos-surface.cpp Don't call _cairo_error when returning an error 2006-02-18 21:45:58 +01:00
cairo-beos.h Mention new --enable-svg option 2005-12-18 17:20:06 +00:00
cairo-cache-private.h Originally 2005-09-06 Carl Worth <cworth@cworth.org>: 2005-09-12 11:15:52 +00:00
cairo-cache.c Originally 2005-09-06 Carl Worth <cworth@cworth.org>: 2005-09-12 11:15:52 +00:00
cairo-clip-private.h Move enum to cairoint.h 2005-12-18 16:37:14 +00:00
cairo-clip.c Use NULL clip instead of special serial zero cairo_clip_t Should make using surfaces easier. 2005-12-19 15:08:05 +00:00
cairo-color.c Fix conversion to short, to get a uniform range even for 0xffff. In other words, a color component of of (1.0 - epsilon) would convert to 0xffff, not 0xfffe. 2005-08-13 01:04:55 +00:00
cairo-debug.c Split out scaled font code to cairo-scaled-font.c 2005-08-31 15:08:02 +00:00
cairo-debug.h New public header file. 2005-08-01 13:33:47 +00:00
cairo-directfb-surface.c Use C-style comments rather than C++-style 2006-02-26 11:13:42 +01:00
cairo-directfb.h New directfb backend for cairo includes test suite and example to run the test is in the comment at the top of cairo-test-directfb.c enable with 2005-12-29 07:17:01 +00:00
cairo-features.h.in New directfb backend for cairo includes test suite and example to run the test is in the comment at the top of cairo-test-directfb.c enable with 2005-12-29 07:17:01 +00:00
cairo-fixed.c Fix for bug #4137: 2005-08-19 14:37:42 +00:00
cairo-font-options.c Add a function for copying font options rather than just using direct structure copying. 2005-11-07 09:26:47 +00:00
cairo-font-subset-private.h Split out font subsetting code from here, 2005-06-21 15:38:51 +00:00
cairo-font-subset.c Don't export cairo_image_surface_set_clip_region. 2005-12-16 11:21:24 +00:00
cairo-font.c Split out scaled font code to cairo-scaled-font.c 2005-08-31 15:08:02 +00:00
cairo-ft-font.c Normalize indentation after previous commit. 2006-02-16 09:05:52 -08:00
cairo-ft-private.h Add cairo_private to several function prototypes that were missing it. 2005-08-09 13:01:14 +00:00
cairo-ft.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-glitz-surface.c Update gradient code in glitz backend 2006-01-05 05:14:14 +00:00
cairo-glitz.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-gstate-private.h Globally rename "operator" to "op", to allow writing backends in C++ 2005-12-16 03:02:35 +00:00
cairo-gstate.c Reviewed by keithp 2006-01-06 14:11:07 +00:00
cairo-hash-private.h Remove destroy notifier. This simplifies the implementation a bit, and no anticipated use of cairo_hash_table_t in cairo needs the destroy notifier. Most uses will be hash-backed object create/destroy functions. 2005-07-12 14:43:37 +00:00
cairo-hash.c Remove destroy notifier. This simplifies the implementation a bit, and no anticipated use of cairo_hash_table_t in cairo needs the destroy notifier. Most uses will be hash-backed object create/destroy functions. 2005-07-12 14:43:37 +00:00
cairo-hull.c simplify id initialisation of last patch 2005-09-29 20:00:14 +00:00
cairo-image-surface.c Change documentation to recommend cairo_paint rather than cairo_rectangle;cairo_fill for clearing a surface. 2006-01-18 16:40:17 +00:00
cairo-matrix.c 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
cairo-meta-surface-private.h Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
cairo-meta-surface.c Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
cairo-output-stream.c add optionnal disabled by default SVG backend. 2005-12-08 13:09:26 +00:00
cairo-paginated-surface-private.h Mark private functions as cairo_private 2006-02-24 01:38:27 +01:00
cairo-paginated-surface.c Don't mix declarations and code. This makes the code valid ISO C, fixes a gcc -pedantic warning, and unbreaks the build with the compiler Zeta ships with. 2006-01-21 09:39:10 +00:00
cairo-path-bounds.c Rename cairo_path_real_t to cairo_path_fixed_t and fix all _cairo_path functions to be named as _cairo_path_fixed functions. 2005-03-23 13:52:54 +00:00
cairo-path-data-private.h Add cairo_private to the few pieces of data that were missing it. 2005-08-10 06:52:40 +00:00
cairo-path-data.c Update the long description of cairo_matrix_t to match the current sources. 2005-08-23 19:52:09 +00:00
cairo-path-fill.c New files. Move code for manipulating cairo_clip_t out into cairo_clip_* functions and put them in cairo-clip.c. 2005-08-04 22:45:59 +00:00
cairo-path-fixed-private.h Clean up names of cairo_path internals. 2005-03-23 14:36:29 +00:00
cairo-path-stroke.c Rework support in the surface backend for the five basic drawing operations (paint, mask, stroke, fill, and show_glyphs). Now, all 5 operations have backend functions, and all use a consistent convention for argument naming and ordering. The old fill_path has been replaced with a new fill. The old show_glyphs function was recently renamed to old_show_glyphs and has not yet been ported to the new show_glyphs, (so all backends have a NULL show_glyphs function). In fact, of the 5 new backend functions, fill is the only one that has an implementation in any backend. As part of this cleanup a new cairo_stroke_style_t object is introduced to capture the many settings unique to the stroke operation, (line_width, line_cap, line_join, miter_limit, dash, num_dashes, and dash_offset). 2005-11-04 11:16:38 +00:00
cairo-path.c Split out scaled font code to cairo-scaled-font.c 2005-08-31 15:08:02 +00:00
cairo-pattern.c 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
cairo-pdf-surface.c Rip the cairo_content_t argument out of ps/pdf_surface_create as per discussion on cairo mailing list. Instead these surface will behave as if CONTENT_COLOR_ALPHA had been passed (that is, compositing operators will behave as if destination alpha were available). 2006-01-19 17:48:22 +00:00
cairo-pdf.h Rip the cairo_content_t argument out of ps/pdf_surface_create as per discussion on cairo mailing list. Instead these surface will behave as if CONTENT_COLOR_ALPHA had been passed (that is, compositing operators will behave as if destination alpha were available). 2006-01-19 17:48:22 +00:00
cairo-pen.c Originally 2005-10-28 Keith Packard <keithp@keithp.com>: 2005-10-31 16:55:21 +00:00
cairo-png.c Fix for bug #4096: 2005-08-19 23:05:13 +00:00
cairo-polygon.c Switch from broken cworth@isi.edu address to canonical cworth@cworth.org address. 2005-02-22 11:35:03 +00:00
cairo-private.h Rip out cairo_set_error_notfiy function as it is clear that it is not the right approach. 2005-06-20 09:59:23 +00:00
cairo-ps-surface.c Rip the cairo_content_t argument out of ps/pdf_surface_create as per discussion on cairo mailing list. Instead these surface will behave as if CONTENT_COLOR_ALPHA had been passed (that is, compositing operators will behave as if destination alpha were available). 2006-01-19 17:48:22 +00:00
cairo-ps.h Rip the cairo_content_t argument out of ps/pdf_surface_create as per discussion on cairo mailing list. Instead these surface will behave as if CONTENT_COLOR_ALPHA had been passed (that is, compositing operators will behave as if destination alpha were available). 2006-01-19 17:48:22 +00:00
cairo-quartz-private.h Add cairo-quartz-private.h 2006-01-10 05:28:59 +00:00
cairo-quartz-surface.c Use C-style comments rather than C++-style 2006-02-26 11:13:42 +01:00
cairo-quartz.h If the surface is flipped, flip the CG coordinate system before drawing the images. 2005-11-14 12:57:31 +00:00
cairo-region.c src/cairoint.h: Split out a couple of useful utility functions. 2005-08-16 18:22:16 +00:00
cairo-scaled-font.c Add cairo_scaled_font_text_extents. 2006-01-22 02:33:26 +00:00
cairo-slope.c Switch from broken cworth@isi.edu address to canonical cworth@cworth.org address. 2005-02-22 11:35:03 +00:00
cairo-spline.c Add CODING_STYLE document to standardize on some style issues. 2005-06-03 14:51:57 +00:00
cairo-stroke-style.c Add functions to initialize and copy cairo_stroke_style_t objects. 2005-11-07 09:49:51 +00:00
cairo-surface-fallback-private.h Begin moving fallback code out of cairo-surface.c and into cairo-surface-fallback.c. 2005-12-19 22:45:41 +00:00
cairo-surface-fallback.c Move more fallback code from cairo-gstate.c to cairo-surface-fallback.c where it belongs. In the process, clean up the function names a bit and make the whole mess static. 2005-12-20 09:37:15 +00:00
cairo-surface.c Have mark_dirty always invalidate the last clip set on the surface 2006-02-27 12:24:09 +01:00
cairo-svg-surface.c convert _cairo_svg_surface_old_show_glyphs to _cairo_svg_surface_show_glyphs. 2006-02-13 14:11:36 +00:00
cairo-svg.h add optionnal disabled by default SVG backend. 2005-12-08 13:09:26 +00:00
cairo-traps.c Make the check for rectangular trapezoids simpler and more accurate. (#4220, found using test case from Richard Stellingwerff) 2005-08-27 18:54:03 +00:00
cairo-unicode.c Style and indentation fixes. 2005-04-02 05:18:11 +00:00
cairo-wideint.c Replace wide integer divide algorithms with trivial bit-at-a-time code. Original code was of unclear provenance, this new code is completely different. 2005-07-30 12:57:54 +00:00
cairo-wideint.h Patch from John Ehresman <jpe@wingide.com> to aid win32 compilation: 2005-08-05 07:48:18 +00:00
cairo-win32-font.c Win32: rename cairo_surface_create_dib to cairo_surface_create_with_dib 2006-02-27 12:53:38 +01:00
cairo-win32-private.h Win32: expose win32 DIB (image) surface creation function, and DC getter 2006-02-27 12:53:36 +01:00
cairo-win32-surface.c Win32: Fix up src coords before calling AlphaBlend/BitBlt to avoid invalid calls 2006-02-27 13:47:20 +01:00
cairo-win32.h Win32: rename cairo_surface_create_dib to cairo_surface_create_with_dib 2006-02-27 12:53:38 +01:00
cairo-xcb-surface.c Use TRUE/FALSE instead of 1/0 for boolean values 2006-02-16 23:56:16 +01:00
cairo-xcb-xrender.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-xcb.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-xlib-private.h src/cairo-xlib-private.h src/cairo-xlib-screen.c: Switch to using Screen * not screen number to match surface code. 2005-07-23 05:37:23 +00:00
cairo-xlib-screen.c Move comment about missing cleanup of caches on XCloseDisplay from BUGS to a _cairo_xlib_close_display. Also covered in bug #4120. 2005-08-23 08:21:46 +00:00
cairo-xlib-surface.c Globally rename "operator" to "op", to allow writing backends in C++ 2005-12-16 03:02:35 +00:00
cairo-xlib-test.h Fix to include cairo-xlib.h, (which also fixes test/xlib-surface.c). 2005-05-17 00:39:17 +00:00
cairo-xlib-xrender.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-xlib.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo.c Fix documentation of cairo_arc which erroneously claimed M_PI radians == 90 degrees to correctly say that M_PI/2.0 radians == 90 degrees. This closes bug #5649 (with thanks to kengruven@gmail.com). 2006-01-18 09:46:42 +00:00
cairo.h Add cairo_scaled_font_text_extents. 2006-01-22 02:33:26 +00:00
cairoint.h Misc compilation fixes (C++-style comments, M_PI decls, etc.) 2006-02-27 12:22:33 +01:00
Makefile.am Add cairo-quartz-private.h 2006-01-10 05:28:59 +00:00
test-fallback-surface.c Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
test-fallback-surface.h Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
test-meta-surface.c Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
test-meta-surface.h Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
test-paginated-surface.c Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
test-paginated-surface.h Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00