No description
Find a file
Steve Johnson b176b54274 Fix my name
2018-10-13 22:40:31 -07:00
src REXPaintImage.layers should be public 2018-10-13 22:14:17 -07:00
tests Nimble init 2018-10-13 22:10:38 -07:00
LICENSE License 2018-10-13 22:17:47 -07:00
Readme.md Hello world 2018-10-13 22:06:41 -07:00
rexpaint.nimble Fix my name 2018-10-13 22:40:31 -07:00

REXPaint for Nim

import rexpaint

let image = newREXPaintImage("xptest.xp")

# "REXPaintImage(10x10, 2 layers)"
echo image 

# layer, x, y
let cell = image.get(0, 0, 0)
echo "code: ", cell.code
echo "foreground color: ", cell.fgColor
echo "background color: ", cell.bgColor