diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2008-11-11 13:26:09 -0500 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2008-11-11 13:26:09 -0500 |
commit | 0a682034a04fa7fc1407e7bc093ae01f4b385ad7 (patch) | |
tree | 0769d43692849fb669247910db754a35a15c94a9 | |
parent | 4fdd856569a67636aaf29bc1a76eed44418db484 (diff) |
Make the clipping implementation comment clearer
When reviewing the spans changes, I reread this comment and it wasn't as clear
as it could be.
-rw-r--r-- | src/cairo-clip.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c index 93bc151c..5bbffd71 100644 --- a/src/cairo-clip.c +++ b/src/cairo-clip.c @@ -478,9 +478,10 @@ _cairo_clip_intersect_mask (cairo_clip_t *clip, I believe the best possible operation would probably an unbounded SRC operator. Using SRC we could potentially avoid having to initialize the surface which would be ideal from an efficiency point of view. - However, _cairo_surface_composite_trapezoids (CAIRO_OPERATOR_SOURCE) is - bounded by the mask. - + However, CAIRO_OPERATOR_SOURCE is bounded by the trapezoid mask and + _cairo_surface_composite_trapezoids (CAIRO_OPERATOR_SOURCE) will assert + because it assumes CAIRO_OPERATOR_SOURCE has been converted into other + operations. */ surface = _cairo_surface_create_similar_solid (target, |