Code

History

Commits on drawalpha-array140+
  1. Indentation in Load.generic().dhoskin committed 13 years agocc25ef9
  2. Load.grey(): handle images where w%pixperbyte ? 0.dhoskin committed 13 years ago0a158b7
  3. Minor fixup in getpixel(), even though we're not using it these days.dhoskin committed 13 years agof171960
  4. Improvements to draw(); still not perfect.dhoskin committed 13 years ago5e599f3
  5. Minor correction in Memdraw.load().dhoskin committed 13 years agoabf3132
  6. Correct limits in Load.grey().dhoskin committed 13 years ago9e29ea7
  7. Repair scalepixel(), implement grey-specific load(), XXX temporarily force all images through grey decoder because that was easier than detecting the format.dhoskin committed 13 years ago703aa33
  8. Add cmap2rgb() and rgb2cmap(), cribbed from Plan 9 source.dhoskin committed 13 years agoca5b5dd
  9. Fix blatant, stupid ommissions in getpixel().dhoskin committed 13 years ago7e0cb2d
  10. Initial implementation of getpixel(), only ``works'' for depths <8. Also assorted fixups in loadimage-related functions.dhoskin committed 13 years agoe933f93
  11. Add simple draw(2) test programs. Some fail.dhoskin committed 13 years ago0712373
  12. Implement Memdraw.load() by way of Memdraw.Load.generic(); ``succeeds'' in the sense that it doesn't throw any exceptions when libdraw tries to load fonts, but otherwise untested -- notably, I have no idea if the graphical effect is at all correct, or if it even has any effect at all. If it works, then yay!dhoskin committed 13 years agoa16d45a
  13. Extend stub Memdraw.load() (still a stub), add Chan functions and definitions.dhoskin committed 13 years ago1ee43f0
  14. Implement stub yY request, Memdraw.load().dhoskin committed 13 years ago04fa4b2
  15. Fixup bounds in ArrayIterator; add getRemainingBytes() needed for yY requests.dhoskin committed 13 years ago7deb786
  16. Remove Draw9p.DBG(CHAR LONG ETC).dhoskin committed 13 years ago55e1a6e
  17. Replace destructive DBG(CHAR LONG ETC) with ArrayIterator in drawdatahandlers.dhoskin committed 13 years ago75d3e0e
  18. Add ArrayIterator.dhoskin committed 13 years ago7bddbfb
  19. Handle multiple 9p messages in a single websocket frame.dhoskin committed 13 years ago259dc8a
  20. Add a stub /dev/cursor.dhoskin committed 13 years ago66c9226
  21. Implement ScreenImage using clipped context of Screen backing-store image; drawing a line on the screen works! (cat '')clock dies due to some cursor issue though.dhoskin committed 13 years agod6153c4
  22. Add minimal, dummy implementation of screens.dhoskin committed 13 years agofbf7a42
  23. Implement N, n window naming requests. Sloppy until I figure out what should be global and what should be local to the connection.dhoskin committed 13 years ago1c049d4
  24. Array.split() != Array.splice().dhoskin committed 13 years agob58d3ca
  25. /dev/draw/n/data write: compute count correctly. This taught me that reading a buffer destructively is convenient, but is also a bad idea.dhoskin committed 13 years agod2f6429
  26. /dev/draw/n/data: writes should return length, not offset!dhoskin committed 13 years ago5f31b8a
  27. Add some debugging output to draw9p.dhoskin committed 13 years agoebba317
  28. Let's not die while creating a conn.dhoskin committed 13 years ago4845126
  29. Improve xxx script; it now accepts an optional query on the command line.dhoskin committed 13 years agof5bfc19
  30. Use disc line endings for poly.dhoskin committed 13 years ago24bc235
  31. Remember to restore context state after flipping for fillellipse!dhoskin committed 13 years agod5030f9
  32. Implement disc line endings.dhoskin committed 13 years ago1be5eb0
  33. Add fillellipse() to Memdraw, along with a test and hooking it up to the E draw operation. Does not handle incomplete (non-2pi) ellipses.dhoskin committed 13 years ago783702b
  34. Implement arrow end cap style for lines.dhoskin committed 13 years ago7c06fe8
  35. Improve data structure for ops. Tweak masked draw. Add failing test for masked draw.dhoskin committed 13 years agoe734bfe