Merge pull request from AmjadHD/patch-1

It's a mandrill not a baboon 🙂
This commit is contained in:
treeform 2022-02-04 12:54:56 -08:00 committed by GitHub
commit 4fcdbfb84b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -271,7 +271,7 @@ path.polygon(
)
let paint = newPaint(pkImageTiled)
paint.image = readImage("examples/data/baboon.png")
paint.image = readImage("examples/data/mandrill.png")
paint.imageMat = scale(vec2(0.08, 0.08))
image.fillPath(path, paint)

View file

Before

(image error) Size: 636 KiB

After

(image error) Size: 636 KiB

View file

@ -11,7 +11,7 @@ path.polygon(
)
let paint = newPaint(pkImageTiled)
paint.image = readImage("examples/data/baboon.png")
paint.image = readImage("examples/data/mandrill.png")
paint.imageMat = scale(vec2(0.08, 0.08))
image.fillPath(path, paint)

View file

Before

(image error) Size: 636 KiB

After

(image error) Size: 636 KiB

View file

@ -113,9 +113,9 @@ block:
block:
let
a = readImage("tests/fileformats/png/baboon.png")
a = readImage("tests/fileformats/png/mandrill.png")
b = a.minifyBy2()
b.writeFile("tests/images/minifiedBaboon.png")
b.writeFile("tests/images/minifiedMandrill.png")
block:
let a = newImage(100, 100)

View file

@ -18,7 +18,7 @@ block:
block:
let paint = newPaint(pkImage)
paint.image = decodePng(readFile("tests/fileformats/png/baboon.png"))
paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png"))
paint.imageMat = scale(vec2(0.2, 0.2))
let image = newImage(100, 100)
@ -27,7 +27,7 @@ block:
block:
let paint = newPaint(pkImage)
paint.image = decodePng(readFile("tests/fileformats/png/baboon.png"))
paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png"))
paint.imageMat = scale(vec2(0.2, 0.2))
paint.opacity = 0.5
@ -37,7 +37,7 @@ block:
block:
let paint = newPaint(pkImageTiled)
paint.image = decodePng(readFile("tests/fileformats/png/baboon.png"))
paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png"))
paint.imageMat = scale(vec2(0.02, 0.02))
let image = newImage(100, 100)
@ -46,7 +46,7 @@ block:
block:
let paint = newPaint(pkImageTiled)
paint.image = decodePng(readFile("tests/fileformats/png/baboon.png"))
paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png"))
paint.imageMat = scale(vec2(0.02, 0.02))
paint.opacity = 0.5