Has anybody successfully drawn a dash or dotted line using the GL or cocos2d APIs? I am looking for code samples and all I can find are solid and anti-aliased lines:
glEnable(GL_LINE_SMOOTH);
glLineWidth(1.5f);
drawLine(CGPointMake(0,0), CGPointMake(10,10));
Thanks for reading this,
Bardia