morepretty
This commit is contained in:
parent
2ee4f747e2
commit
789d543faf
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
## Load SVG files.
|
||||
|
||||
import chroma, pixie/common, pixie/images, pixie/internal, pixie/paints, pixie/paths, strutils,
|
||||
vmath, xmlparser, xmltree, tables
|
||||
import chroma, pixie/common, pixie/images, pixie/internal, pixie/paints,
|
||||
pixie/paths, strutils, tables, vmath, xmlparser, xmltree
|
||||
|
||||
when defined(pixieDebugSvg):
|
||||
import strtabs
|
||||
|
|
|
@ -450,7 +450,7 @@ block:
|
|||
let y = 25f + i.float32 * 50f # y coordinate
|
||||
let radius = 20f # Arc radius
|
||||
let startAngle = 0f # Starting point on circle
|
||||
let endAngle = PI + (PI * j.float32) / 2 # End point on circle
|
||||
let endAngle = PI + (PI * j.float32) / 2 # End point on circle
|
||||
let counterclockwise = i mod 2 == 1 # Draw counterclockwise
|
||||
|
||||
ctx.arc(x, y, radius, startAngle, endAngle, counterclockwise)
|
||||
|
|
Loading…
Reference in a new issue