[cairo-commit] [cairo-www] src/missing.mdwn

Carl Worth cworth at freedesktop.org
Wed Jan 7 14:08:49 PST 2009

 src/missing.mdwn |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 5ec999a8625f8138fc8e666323c08cbe3743d50d
Author: Carl Worth <cworth at freedesktop.org>
Date:   Wed Jan 7 14:08:49 2009 -0800

    web commit by BenjaminOtte: add CSS3 borders

diff --git a/src/missing.mdwn b/src/missing.mdwn
index 0e9e543..7b570cb 100644
--- a/src/missing.mdwn
+++ b/src/missing.mdwn
@@ -34,6 +34,12 @@ Bitmap filters are harder to quantify since the amount of possible filters are i
 The SVG filters <http://www.w3.org/TR/SVGFilter12/>
 Box blur - see <http://www.kaourantin.net/2005/08/implementing-blur-filter-in-flash.html>
+# CSS3 borders
+CSS3 proposes additions to border rendering that are currently not expressible in Cairo. In particular, top/left/bottom/right borders can have different styles (color, line width) and the new border-radius property can do rounded corners. So a way to stroke a non-trivial dashed path with different patterns and line widths is required.
+current CSS3 border working draft: <http://www.w3.org/TR/2008/WD-css3-background-20080910/#border
+examples: http://ktown.kde.org/~fredrik/brtests/
 # Implementation Considerations
 An interesting development related to this is the Pixel Bender toolkit (http://labs.adobe.com/wiki/index.php/Pixel_Bender_Toolkit) which allows bitmap effects and blend modes to be written in a GLSL derived pixel language that can be executed on the CPU or the GPU. There are rumours of it going to be open sourced. LLVM could be used to implement something similar while taking advantage of optimizations on multiple architectures.

More information about the cairo-commit mailing list