about summary refs log tree commit diff stats
path: root/src/img/path.nim
Commit message (Collapse)AuthorAgeFilesLines
* img: rename SEGMENT_*bptato2024-05-091-16/+15
|
* Update code stylebptato2024-04-171-25/+25
| | | | | | * separate params with ; (semicolon) instead of , (colon) * reduce screaming snake case use * wrap long lines
* Use errDOMException template everywherebptato2024-01-111-6/+6
|
* Use std/* imports everywherebptato2024-01-071-3/+3
|
* move around more modulesbptato2023-09-141-1/+1
| | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/
* path: remove ellipseLinesbptato2023-08-281-26/+0
| | | | | | | It was unused. (Or more precisely, indefinitely not implemented. TODO: implement it one day.)
* javascript: refactorbptato2023-08-281-1/+1
| | | | | | | Split out parts of the JS module, because it was starting to confuse the compiler a little. (Peakmem is back at 750M. Interesting.)
* Get rid of the .jserr pragmabptato2023-06-191-12/+17
|
* Add support for canvas and multipartbptato2023-06-051-0/+430
Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...)