initial commit

This commit is contained in:
2025-10-09 14:37:45 +03:00
commit 0ec07dc014
24 changed files with 791 additions and 0 deletions

19
source/Marks/DotMark.mc Normal file
View File

@ -0,0 +1,19 @@
import Toybox.Graphics;
import Toybox.Lang;
import Toybox.WatchUi;
class DotMark extends IMark {
function initialize(options as IMark.MarkParams) {
IMark.initialize(options);
}
function drawMark(dc as Dc, start as Point2D, length as Float) as Void {
var angle = getAngle();
dc.setColor(Color, Graphics.COLOR_TRANSPARENT);
dc.fillCircle(start[0] + length * InnerRadius * Math.cos(angle),
start[1] + length * InnerRadius * Math.sin(angle),
length * Size / 2.0);
}
}