[cairo-commit] cairo ChangeLog,1.290,1.291 TODO,1.26,1.27
Carl Worth
commit at pdx.freedesktop.org
Thu Jan 6 21:28:10 PST 2005
Committed by: cworth
Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv11898
Modified Files:
ChangeLog TODO
Log Message:
* TODO: Add Owen's new equation to fix clipping:
((src Op dest) In clip) Add (dest Out clip)
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -d -r1.290 -r1.291
--- ChangeLog 6 Jan 2005 18:28:10 -0000 1.290
+++ ChangeLog 7 Jan 2005 05:28:07 -0000 1.291
@@ -1,3 +1,8 @@
+2005-01-07 Carl Worth <cworth at cworth.org>
+
+ * TODO: Add Owen's new equation to fix clipping:
+ ((src Op dest) In clip) Add (dest Out clip)
+
2005-01-06 Carl Worth <cworth at cworth.org>
* TODO: Added some TODO items from mailing list traffic.
Index: TODO
===================================================================
RCS file: /cvs/cairo/cairo/TODO,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- TODO 6 Jan 2005 18:28:10 -0000 1.26
+++ TODO 7 Jan 2005 05:28:07 -0000 1.27
@@ -1,13 +1,19 @@
-* Add cairo_show_surface_mask, and make everything respect current
- alpha. This means the equation should be something like:
+* Fix clipping to work for all operators. The equation we have come up
+ with is:
- ((PATTERN IN ALPHA) IN (SHAPE IN CLIP)) OP DEST
+ ((src Op dest) In clip) Add (dest Out clip)
- Except where IN may not be the right operator for clipping for some
- choices of OP.
+* Resolve the rest of the rendering equation. We need a fundamental
+ equation upon which more convenient operations are based, (at least
+ formally). Some of the common operations that should be convenient:
-* Fix the rendering equation (or implementation) so that clipping
- works as expected.
+ * display surface
+ * display surface multiplied by constant alpha
+ * display pattern masked by surface
+
+ So this involves deciding whether to expose a new mask object in the
+ graphics state, and deciding exactly what set_alpha means. It almost
+ certainly means adding cairo_show_surface_mask.
* Implement a hidden transform, (as per the result of the hidden
offset thread on the mailing list).
More information about the cairo-commit
mailing list