Rename baboon to mandrill

![Baboon](https://en.wikipedia.org/wiki/Baboon)
![Mandrill](https://en.wikipedia.org/wiki/Mandrill)
This commit is contained in:
Amjad Ben Hedhili 2022-02-04 14:41:28 +01:00 committed by AmjadHD
parent 9801522bc8
commit 217e6c7eeb
6 changed files with 8 additions and 8 deletions

View file

@ -271,7 +271,7 @@ path.polygon(
) )
let paint = newPaint(pkImageTiled) 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)) paint.imageMat = scale(vec2(0.08, 0.08))
image.fillPath(path, paint) image.fillPath(path, paint)

View file

Before

Width:  |  Height:  |  Size: 636 KiB

After

Width:  |  Height:  |  Size: 636 KiB

View file

@ -11,7 +11,7 @@ path.polygon(
) )
let paint = newPaint(pkImageTiled) 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)) paint.imageMat = scale(vec2(0.08, 0.08))
image.fillPath(path, paint) image.fillPath(path, paint)

View file

Before

Width:  |  Height:  |  Size: 636 KiB

After

Width:  |  Height:  |  Size: 636 KiB

View file

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

View file

@ -18,7 +18,7 @@ block:
block: block:
let paint = newPaint(pkImage) 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.imageMat = scale(vec2(0.2, 0.2))
let image = newImage(100, 100) let image = newImage(100, 100)
@ -27,7 +27,7 @@ block:
block: block:
let paint = newPaint(pkImage) 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.imageMat = scale(vec2(0.2, 0.2))
paint.opacity = 0.5 paint.opacity = 0.5
@ -37,7 +37,7 @@ block:
block: block:
let paint = newPaint(pkImageTiled) 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.imageMat = scale(vec2(0.02, 0.02))
let image = newImage(100, 100) let image = newImage(100, 100)
@ -46,7 +46,7 @@ block:
block: block:
let paint = newPaint(pkImageTiled) 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.imageMat = scale(vec2(0.02, 0.02))
paint.opacity = 0.5 paint.opacity = 0.5