Listing 1

SWFShape *shape=new SWFShape;
shape->setLine(1,0xFF,0x00,0x00,0xFF);
shape->movePenTo(0,0);
shape->drawLineTo(100,50);
shape->drawLineTo(0,50);
shape->drawLineTo(0,0);