Mercurial > MadButterfly
comparison nodejs/mbfly_njs.cc @ 565:c0bc60448913 Android_Skia
Constructor for path objects in Javascript domain
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 07 Jun 2010 22:37:51 +0800 |
parents | 1b6402f07cd4 |
children | a12c3448afb6 |
comparison
equal
deleted
inserted
replaced
564:0cd1511272d2 | 565:c0bc60448913 |
---|---|
103 rt_instance_temp->SetInternalFieldCount(1); | 103 rt_instance_temp->SetInternalFieldCount(1); |
104 | 104 |
105 rt_proto_temp = mb_rt_func->PrototypeTemplate(); | 105 rt_proto_temp = mb_rt_func->PrototypeTemplate(); |
106 func = FunctionTemplate::New(xnjsmb_coord_new); | 106 func = FunctionTemplate::New(xnjsmb_coord_new); |
107 SET(rt_proto_temp, "coord_new", func); | 107 SET(rt_proto_temp, "coord_new", func); |
108 | |
109 xnjsmb_shapes_init_mb_rt_temp(mb_rt_func); | |
108 | 110 |
109 target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); | 111 target->Set(String::New("mb_rt"), mb_rt_func->GetFunction()); |
110 } | 112 } |