# HG changeset patch # User Thinker K.F. Li # Date 1281700320 -28800 # Node ID 54618e0cd36bf7494ca0952e688701ad8665b9a4 # Parent da794f4fe96c3e310463351415e46c7a69e99055 fill with black by default instead of stroke black diff -r da794f4fe96c -r 54618e0cd36b nodejs/svg.js --- a/nodejs/svg.js Fri Aug 13 19:50:16 2010 +0800 +++ b/nodejs/svg.js Fri Aug 13 19:52:00 2010 +0800 @@ -142,7 +142,7 @@ if (style==null) { paint = mb_rt.paint_color_new(0,0,0,1); - paint.stroke(path); + paint.fill(path); } else { var items = style.value().split(';'); var fill_alpha = 1;