Half-working StrokeEllipse

This commit is contained in:
2023-01-20 21:59:48 -05:00
parent 775e7bd4ca
commit 39ce5f9ee2
2 changed files with 124 additions and 5 deletions

View File

@@ -89,6 +89,18 @@ func (element *Artist) Resize (width, height int) {
// 0, 3
artist.FillEllipse(element, uhex(0x00FF00FF), element.cellAt(0, 3))
// 1, 3
for x := 1; x < 4; x ++ {
artist.StrokeEllipse (
element,
[]artist.Pattern {
uhex(0xFF0000FF),
uhex(0x00FF00FF),
uhex(0xFF00FFFF),
} [x - 1],
x, element.cellAt(x, 3))
}
drawTime := time.Since(drawStart)
textDrawer := artist.TextDrawer { }
textDrawer.SetFace(defaultfont.FaceRegular)