summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
51cda7f)
out to be unsupported on the Win9x/Me series. Use Arc() instead (tested on
Win98 and Win2K).
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6012
cda61777-01e9-0310-a592-
d414129be87e
SelectObject(fe->hdc_bm, oldpen);
} else {
HPEN oldpen = SelectObject(fe->hdc_bm, fe->pens[colour]);
SelectObject(fe->hdc_bm, oldpen);
} else {
HPEN oldpen = SelectObject(fe->hdc_bm, fe->pens[colour]);
- MoveToEx(fe->hdc_bm, cx + radius, cy, NULL);
- AngleArc(fe->hdc_bm, cx, cy, radius, 0.0F, 360.0F);
+ Arc(fe->hdc_bm, cx - radius, cy - radius,
+ cx + radius + 1, cy + radius + 1,
+ cx - radius, cy, cx - radius, cy);
SelectObject(fe->hdc_bm, oldpen);
SelectObject(fe->hdc_bm, oldpen);
}
void draw_polygon(frontend *fe, int *coords, int npoints,
}
void draw_polygon(frontend *fe, int *coords, int npoints,