Hi [/SIZE][/FONT][/COLOR]markdotai,[/LEFT]
which font did you use for the date?
I don't know whether it was possible 10 month ago, but I think it is possible now if you declare the to be used coordinates not as integer but as floating point variables.
var width = dc.getWidth()-.5;
var height = dc.getHeight()-.5;
dc.drawCircle(width/2, height/2, height/2);
works (at least with the simulator).
I don't know whether it was possible 10 month ago, but I think it is possible now if you declare the to be used coordinates not as integer but as floating point variables.
var width = dc.getWidth()-.5;
var height = dc.getHeight()-.5;dc.drawCircle(width/2, height/2, height/2);
works (at least with the simulator).
Not to necro a dead thread, but this doesn't work for me. I don't think specifying float values for the width and height actually means that it draws the circle with fractional width and height. Maybe it just rounds or truncates the values you pass in.
function onUpdate(dc as Dc) as Void { dc.setColor(Graphics.COLOR_WHITE, Graphics.COLOR_BLACK); dc.clear(); dc.setPenWidth(1); var width = dc.getWidth()-.5; var height = dc.getHeight() - .5; dc.drawCircle(width/2, height/2, height/2); return;
FR 245 sim: