- int width = 3;
- swf_ShapeSetLine(tag, i->shape,-width,-width);
- swf_ShapeSetLine(tag, i->shape,width*2,0);
- swf_ShapeSetLine(tag, i->shape,0,width*2);
- swf_ShapeSetLine(tag, i->shape,-width*2,0);
- swf_ShapeSetLine(tag, i->shape,0,-width*2);
+ int width = i->linewidth/4;
+ if(width > 5)
+ width = 5;
+ ////square
+ //swf_ShapeSetLine(tag, i->shape,-width,-width);
+ //swf_ShapeSetLine(tag, i->shape,width*2,0);
+ //swf_ShapeSetLine(tag, i->shape,0,width*2);
+ //swf_ShapeSetLine(tag, i->shape,-width*2,0);
+ //swf_ShapeSetLine(tag, i->shape,0,-width*2);
+ //swf_ShapeSetLine(tag, i->shape,width,width);
+
+ // diamond
+ swf_ShapeSetLine(tag, i->shape,-width,0);
+ swf_ShapeSetLine(tag, i->shape,width,-width);