diff nodejs/paints.cc @ 570:49e79253b6d3 Android_Skia

Functions of setting/getting stroke width of a shape
author Thinker K.F. Li <thinker@branda.to>
date Wed, 09 Jun 2010 15:10:29 +0800
parents f87a368e847a
children 5a68e2bcea17
line wrap: on
line diff
--- a/nodejs/paints.cc	Wed Jun 09 14:44:20 2010 +0800
+++ b/nodejs/paints.cc	Wed Jun 09 15:10:29 2010 +0800
@@ -41,7 +41,9 @@
     rdman = xnjsmb_rt_rdman(rt);
     
     rdman_paint_fill(rdman, paint, sh);
-
+    
+    rdman_shape_changed(rdman, sh);
+    
     return Null();
 }
 
@@ -74,7 +76,9 @@
     rdman = xnjsmb_rt_rdman(rt);
     
     rdman_paint_stroke(rdman, paint, sh);
-
+    
+    rdman_shape_changed(rdman, sh);
+    
     return Null();
 }