This commit is contained in:
Ryan Oldenburg 2021-11-30 02:00:01 -06:00
parent c8b9a315d0
commit d8acdf750d
2 changed files with 1 additions and 2 deletions

View file

@ -990,7 +990,7 @@ proc shadow*(
result = newImage(shifted.width, shifted.height) result = newImage(shifted.width, shifted.height)
result.fill(color) result.fill(color)
result.draw(shifted, blendMode = bmMask) result.draw(shifted)
proc superImage*(image: Image, x, y, w, h: int): Image {.raises: [PixieError].} = proc superImage*(image: Image, x, y, w, h: int): Image {.raises: [PixieError].} =
## Either cuts a sub image or returns a super image with padded transparency. ## Either cuts a sub image or returns a super image with padded transparency.

View file

@ -2454,6 +2454,5 @@ else:
image.clearUnsafe(0, 0, 0, startY) image.clearUnsafe(0, 0, 0, startY)
image.clearUnsafe(0, pathHeight, 0, image.height) image.clearUnsafe(0, pathHeight, 0, image.height)
when defined(release): when defined(release):
{.pop.} {.pop.}