Please take this test ( this must be the result: http://www.amanithvg.com/screenshots/stroke_hot_case.png )
STROKE_LINE_WIDTH = 200 STROKE_CAP_STYLE = CAP_BUTT; STROKE_JOIN_STYLE = JOIN_ROUND; <identity transform matrix>
float xy[8]; int j = 0;
for (int i = 0; i < 4; ++i) { // x coordinate xy[j++] = 20.0f * (float)cos((i / 4.0f) * 1.7) + 128.0f; // y coordinate xy[j++] = 20.0f * (float)sin((i / 4.0f) * 1.7) + 128.0f; }
<draw stroked polygon whose points are the xy coordinates>