Mercurial > MadButterfly
comparison nodejs/paints.cc @ 684:b346e4699e55
Add more comment for JS binding
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 07 Aug 2010 19:33:42 +0800 |
parents | 714cd6470bd9 |
children | da12923a789a |
comparison
equal
deleted
inserted
replaced
683:7685c57e29d0 | 684:b346e4699e55 |
---|---|
10 | 10 |
11 #ifndef ASSERT | 11 #ifndef ASSERT |
12 #define ASSERT(x) | 12 #define ASSERT(x) |
13 #endif | 13 #endif |
14 | 14 |
15 /*! \defgroup xnjsmb_paints JS binding for paints | |
16 * \ingroup xnjsmb | |
17 * | |
18 * @{ | |
19 */ | |
15 | 20 |
16 /*! \brief Fill a shape with the paint. | 21 /*! \brief Fill a shape with the paint. |
17 */ | 22 */ |
18 static Handle<Value> | 23 static Handle<Value> |
19 xnjsmb_paint_fill(const Arguments &args) { | 24 xnjsmb_paint_fill(const Arguments &args) { |
285 | 290 |
286 rt_proto_temp = rt_temp->PrototypeTemplate(); | 291 rt_proto_temp = rt_temp->PrototypeTemplate(); |
287 SET(rt_proto_temp, "paint_color_new", xnjsmb_paint_color_new_temp); | 292 SET(rt_proto_temp, "paint_color_new", xnjsmb_paint_color_new_temp); |
288 SET(rt_proto_temp, "paint_image_new", xnjsmb_paint_image_new_temp); | 293 SET(rt_proto_temp, "paint_image_new", xnjsmb_paint_image_new_temp); |
289 } | 294 } |
295 | |
296 /* @} */ |