[cairo-commit] [cairo-www] src/cookbook

Carl Worth cworth at freedesktop.org
Thu Jan 8 15:53:58 PST 2009


 src/cookbook/roundedrectangles.mdwn |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c4280b82e1ebb78a8411ac0191b78fe02e6cbfea
Author: mlissner <mlissner at web>
Date:   Thu Jan 8 15:53:57 2009 -0800

    The larger a radius that is used, the smaller the box created by this becomes. Clearly a bug...

diff --git a/src/cookbook/roundedrectangles.mdwn b/src/cookbook/roundedrectangles.mdwn
index 4608dbc..c47bea1 100644
--- a/src/cookbook/roundedrectangles.mdwn
+++ b/src/cookbook/roundedrectangles.mdwn
@@ -1,6 +1,6 @@
 ##Method A
 
-From the cairo samples, modified. Gives a very nice shape but takes width and height only as guides.
+From the cairo samples, modified. Gives a very nice shape but takes width and height only as guides, however width and height do not render properly and are affected by radius.
 
     def roundedrecA(self,cr,x,y,width,height,radius=5):
         #/* a custom shape, that could be wrapped in a function */


More information about the cairo-commit mailing list