Code

History

Commits on drawalpha-array35+
  1. Cache getImageData() array of each image, a first step to getting rid of canvases.dhoskin committed 12 years ago5b5f5c0
  2. drawalpha: fix alphacalc11 indexing, cleanup code, actually add file to html.dhoskin committed 12 years agod3cfcb9
  3. Implement drawalpha() and alphacalc11() to draw between images by hand, rather than using canvas draw.dhoskin committed 12 years ago8c353ae
  4. cons: handle ctrl in onkeydown rather than keypress. fixes chrome.dhoskin committed 12 years ago8058bf6
  5. cons: handle control characters!dhoskin committed 12 years ago83c4cf7
  6. Implement Refbackup for screen-backed images (windows). Implement simple painters-algorithm clipping. Implement css z-ordering of canvases because painter's algorithm is too slow. Implement o (move window) request.dhoskin committed 12 years ago3ec169e
  7. image.js: do not forcibly clip screen-backed (b screenid=0) images. The shared context means that this had horrible side effects, and the new drawmasked()/drawclip() renders it unnecessary. Gets rio closer to working.dhoskin committed 12 years ago2c1bf5c
  8. drawdata: `l': use drawmasked.dhoskin committed 12 years agob263437
  9. fillellipse: draw on mask rather than doing silly canvas-clipping tricks.dhoskin committed 12 years ago2cda7bc
  10. Fillpoly: just draw the poly to mask rather than playing with clipping on dst.dhoskin committed 12 years ago8f5a686
  11. pointrect: copy points in Rect constructor, implement rcombinept.dhoskin committed 12 years ago570b5f1
  12. memdraw: drawchar: use drawmasked().dhoskin committed 12 years ago30fdb3f
  13. memdraw: drawmasked: set (0, 0) maskpoint if mask is null.dhoskin committed 12 years agoa0e78f2
  14. /dev/draw/n/data: `d' (draw) request: use drawmasked() rather than raw draw().dhoskin committed 12 years ago263d1c3
  15. memdraw: rewrite drawmasked to use drawclip.dhoskin committed 12 years agobc221ed
  16. Implement drawclip() and friends, courtesy of libmemdraw.dhoskin committed 12 years agof6cfdff
  17. Use pointrect functions where appropriate in memdraw. Add canvas point/rect wrappers to image.dhoskin committed 12 years agof1c5e85
  18. pointrect: addpt etc should work on Point-unblessed points.dhoskin committed 12 years ago6b12759
  19. pointrect.js: work on copied objects where appropriate, and bring in line with c version.dhoskin committed 12 years ago246f195
  20. Fix tab on chrome and right-click on Firefox.dhoskin committed 12 years ago81c9632
  21. cons: trap backspace, tab, mousekeys properly.dhoskin committed 12 years ago2caab26
  22. draw/data.js: use pointrect.js.dhoskin committed 12 years ago1e4e783
  23. array.js: use point.js.dhoskin committed 12 years agobd24ba6
  24. Include pointrect.js, and fix some errors in it.dhoskin committed 12 years ago2b180b0
  25. Latin2js: style(6), use Bio(2), add comment to output.dhoskin committed 12 years agoe159343
  26. Add pointrect.js.drh committed 12 years agoe406239
  27. drawdata: l request: left[1] is signed. Since JavaScript is a high-level language, I have to implement two's-complement myself!dhoskin committed 12 years ago623963c
  28. drawdata: implement c and f requests.dhoskin committed 12 years ago5b4509c
  29. Debug output: only write debug message for unimplemented writedrawdata functions. Now that volume is down, turn background-console debugging back on to make it easier to capture startup.drh committed 12 years ago8be9242
  30. Move handlewarp's strtoul() to ArrayIterator.dhoskin committed 12 years agodf9d215
  31. Implement mouse warping.dhoskin committed 12 years ago11247e2
  32. Disable noisy logging.dhoskin committed 12 years agoe4dc7d3
  33. Try harder to trap mouse events.dhoskin committed 12 years agobd9fa7f
  34. For efficiency, only attempt to write debug output if the console is enabled.dhoskin committed 12 years agoc0fd13e
  35. Get the size of the root image from the canvas element rather than hardcoding it. While we're there, bump the size to 1024x768.dhoskin committed 12 years ago11ff4b4