Move test files.
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 975 B After Width: | Height: | Size: 975 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 981 B After Width: | Height: | Size: 981 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
|
@ -46,7 +46,7 @@ block:
|
||||||
"M 10 10 H 90 V 90 H 10 L 10 10",
|
"M 10 10 H 90 V 90 H 10 L 10 10",
|
||||||
rgba(255, 255, 0, 255)
|
rgba(255, 255, 0, 255)
|
||||||
)
|
)
|
||||||
image.writeFile("pathYellowRectangle.png")
|
image.writeFile("tests/images/pathYellowRectangle.png")
|
||||||
|
|
||||||
block:
|
block:
|
||||||
echo "pathRedRectangle"
|
echo "pathRedRectangle"
|
||||||
|
@ -61,7 +61,7 @@ block:
|
||||||
path,
|
path,
|
||||||
rgba(255, 0, 0, 255)
|
rgba(255, 0, 0, 255)
|
||||||
)
|
)
|
||||||
image.writeFile("pathRedRectangle.png")
|
image.writeFile("tests/images/pathRedRectangle.png")
|
||||||
|
|
||||||
block:
|
block:
|
||||||
echo "pathBottomArc"
|
echo "pathBottomArc"
|
||||||
|
@ -85,7 +85,7 @@ block:
|
||||||
""",
|
""",
|
||||||
parseHtmlColor("#FC427B").rgba
|
parseHtmlColor("#FC427B").rgba
|
||||||
)
|
)
|
||||||
image.writeFile("pathHeart.png")
|
image.writeFile("tests/images/pathHeart.png")
|
||||||
|
|
||||||
block:
|
block:
|
||||||
echo "pathRotatedArc"
|
echo "pathRotatedArc"
|
||||||
|
@ -94,7 +94,7 @@ block:
|
||||||
"M 20 50 A 20 10 45 1 1 80 50 L 20 50",
|
"M 20 50 A 20 10 45 1 1 80 50 L 20 50",
|
||||||
parseHtmlColor("#FC427B").rgba
|
parseHtmlColor("#FC427B").rgba
|
||||||
)
|
)
|
||||||
image.writeFile("pathRotatedArc.png")
|
image.writeFile("tests/images/pathRotatedArc.png")
|
||||||
|
|
||||||
block:
|
block:
|
||||||
echo "pathInvertedCornerArc"
|
echo "pathInvertedCornerArc"
|
||||||
|
@ -103,7 +103,7 @@ block:
|
||||||
"M 0 50 A 50 50 0 0 0 50 0 L 50 50 L 0 50",
|
"M 0 50 A 50 50 0 0 0 50 0 L 50 50 L 0 50",
|
||||||
parseHtmlColor("#FC427B").rgba
|
parseHtmlColor("#FC427B").rgba
|
||||||
)
|
)
|
||||||
image.writeFile("pathInvertedCornerArc.png")
|
image.writeFile("tests/images/pathInvertedCornerArc.png")
|
||||||
|
|
||||||
block:
|
block:
|
||||||
echo "pathCornerArc"
|
echo "pathCornerArc"
|
||||||
|
@ -112,7 +112,7 @@ block:
|
||||||
"M 0 50 A 50 50 0 0 1 50 0 L 50 50 L 0 50",
|
"M 0 50 A 50 50 0 0 1 50 0 L 50 50 L 0 50",
|
||||||
parseHtmlColor("#FC427B").rgba
|
parseHtmlColor("#FC427B").rgba
|
||||||
)
|
)
|
||||||
image.writeFile("pathCornerArc.png")
|
image.writeFile("tests/images/pathCornerArc.png")
|
||||||
|
|
||||||
block:
|
block:
|
||||||
let image = newImage(100, 100)
|
let image = newImage(100, 100)
|
||||||
|
@ -132,4 +132,4 @@ block:
|
||||||
path,
|
path,
|
||||||
rgba(255, 0, 0, 255)
|
rgba(255, 0, 0, 255)
|
||||||
)
|
)
|
||||||
image.writeFile("pathRoundRect.png")
|
image.writeFile("tests/images/pathRoundRect.png")
|
||||||
|
|