Mercurial > MadButterfly
comparison nodejs/shapes.cc @ 569:f87a368e847a Android_Skia
Functions of stroke and fill a shape
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 09 Jun 2010 14:44:20 +0800 |
parents | c0bc60448913 |
children | 49e79253b6d3 |
comparison
equal
deleted
inserted
replaced
568:d796e6b8b97e | 569:f87a368e847a |
---|---|
87 rt = args[1]->ToObject(); | 87 rt = args[1]->ToObject(); |
88 rdman = xnjsmb_rt_rdman(rt); | 88 rdman = xnjsmb_rt_rdman(rt); |
89 sh = rdman_shape_path_new(rdman, dstr); | 89 sh = rdman_shape_path_new(rdman, dstr); |
90 | 90 |
91 WRAP(self, sh); | 91 WRAP(self, sh); |
92 SET(self, "mbrt", rt); | |
92 | 93 |
93 return Null(); | 94 return Null(); |
94 } | 95 } |
95 | 96 |
96 /*! \brief Initial function template for constructor of path objects. | 97 /*! \brief Initial function template for constructor of path objects. |