debugrun.lua 552 B

123456789101112131415161718
  1. function _init()
  2. api.points(1,1, 192,1, 192,128, 1,128, 8)
  3. api.points(0,1, 193,1, 193,128, 0,128, 3)
  4. api.points(1,0, 192,0, 192,129, 1,129, 3)
  5. api.rect_line(2,2, 190,126, 12)
  6. --api.line(2,2,191,2,191,127,2,127,2,2,12)
  7. api.line(2,2, 191,127, 9)
  8. api.line(191, 2,2,127, 9)
  9. --api.rect(10,10,10,10,9)
  10. api.Image(api.ImageData(10,10):map(function() return 13 end)):draw(10,10)
  11. api.rect(10,42,10,10,9)
  12. api.rect(10,30,10,10,9)
  13. api.rect_line(10,30,10,10,8)
  14. api.points(10,10, 10,19, 19,19, 19,10, 8)
  15. api.color(8)
  16. api.print_grid("0 TEST",1,1)
  17. end