Commit Graph

129 Commits (977c8c3b65c9bd2b95e8933b9df82f7b3f39058c)

Author SHA1 Message Date
Isaiah Odhner 94fbbacae2 Enable patterns for polygon strokes > 1px 2018-06-17 17:52:53 -04:00
Isaiah Odhner 92feca2abc Support line width for polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 83e45e020c Fix mixed indentation 2018-06-17 17:52:53 -04:00
Isaiah Odhner 1a93dcefab Refactor / clean up 2018-06-17 17:52:53 -04:00
Isaiah Odhner 747bf8c4f5 Use WebGL for polygon tool preview 2018-06-17 17:52:53 -04:00
Isaiah Odhner 0ed2424f9a Clean up 2018-06-17 17:52:53 -04:00
Isaiah Odhner e5b3c5be8b Use WebGL for Polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 6165ecaa66 Replace colors globally 2018-01-25 03:51:12 +00:00
Isaiah Odhner af7995df77 Disable image smoothing everywhere 2018-01-21 21:02:45 +00:00
Isaiah Odhner 376fda7361 Optimize unnecessarily
and simplify returning an Array
2018-01-17 22:18:52 -05:00
Isaiah Odhner e251945f38 Allow switching transparency option of active selection
Also add some cleanup code to TextBox, while I'm at it
2018-01-17 20:13:02 -05:00
Isaiah Odhner 7d22db9caa Fix flood fill algorithm
Fixes #10
2017-05-25 03:07:10 +00:00
Isaiah Odhner 5f664f7719 Add and fix some shape styles
Implement support for line widths in the Line and Polygon tools, and fix the coloring of the shape tools (Polygon etc.)
2016-11-06 00:13:54 +00:00
Isaiah Odhner 401fa043b6 Wrap when rasterizing text 2016-11-05 19:52:44 +00:00
Isaiah Odhner 3b33e7c2ff Store current colors in an object (not an array) 2015-02-23 19:18:07 -05:00
Isaiah Odhner 8fa3c01d0d Move render_brush to image-manipulation.js 2014-12-11 16:36:48 -05:00
Isaiah Odhner 6a4c33c5be Rotate image by arbitrary angle (hidden feature) 2014-12-08 08:56:20 -05:00
Isaiah Odhner bc8a97b9cc Fix skewing for negative angles 2014-12-08 08:14:58 -05:00
Isaiah Odhner 71659ac5a6 Keyboard shortcuts for rotation 2014-12-07 21:45:23 -05:00
Isaiah Odhner f20bd1db92 Add ctx.copy() helper 2014-12-07 17:19:56 -05:00
Isaiah Odhner 6b378e5f57 Stretch and Skew 2014-11-29 14:20:59 -05:00
Isaiah Odhner 43eab1201c /* Polygon rasterization */ 2014-11-19 15:25:33 -05:00
Isaiah Odhner fdd53db192 Many minor code changes
I hope this doesn't break anything
2014-10-28 22:54:55 -04:00
Isaiah Odhner 9d85ead4a5 Helper function to construct canvases 2014-10-24 21:14:11 -04:00
Isaiah Odhner 1be2ca535f Free-Form Select 2014-10-24 03:17:24 -04:00
Isaiah Odhner 5437664285 Make image transformations work on pasted images
Sometimes selection.canvas is an Image, but apply_image_transformation
assumed it was always a Canvas
2014-10-02 17:25:49 -04:00
Isaiah Odhner a842ed22e1 Move tons of stuff out of menus.js
Now menus.js is pretty much just a data structure.
2014-10-02 17:17:43 -04:00
Isaiah Odhner dd691793f1 Move fill function out of tools.js 2014-10-01 15:46:35 -04:00
Isaiah Odhner 27aa5b1edd Move javascript into src/ 2014-08-19 16:15:09 -04:00