| 355 | } |
| 356 | |
| 357 | void PiuSVGImage_create(xsMachine* the) |
| 358 | { |
| 359 | PiuSVGImage* self; |
| 360 | xsVars(4); |
| 361 | xsSetHostChunk(xsThis, NULL, sizeof(PiuSVGImageRecord)); |
| 362 | self = PIU(SVGImage, xsThis); |
| 363 | (*self)->the = the; |
| 364 | (*self)->reference = xsToReference(xsThis); |
| 365 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuSVGImageHooks); |
| 366 | (*self)->dispatch = (PiuDispatch)&PiuSVGImageDispatchRecord; |
| 367 | (*self)->recordSize = PiuRecordSize(sizeof(PiuSVGImageRecord)); |
| 368 | (*self)->flags = piuVisible; |
| 369 | PiuContentDictionary(the, self); |
| 370 | PiuSVGImageDictionary(the, self); |
| 371 | PiuBehaviorOnCreate(self); |
| 372 | } |
| 373 | |
| 374 | void PiuSVGImage_get_opacity(xsMachine* the) |
| 375 | { |
nothing calls this directly
no test coverage detected