changeset 712:54618e0cd36b

fill with black by default instead of stroke black
author Thinker K.F. Li <thinker@branda.to>
date Fri, 13 Aug 2010 19:52:00 +0800
parents da794f4fe96c
children e60ae262127b
files nodejs/svg.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;