Commit graph

82 commits

Author SHA1 Message Date
Ryan Oldenburg f04f8e9478 images are always premultipled alpha 2021-02-25 16:11:36 -06:00
Ryan Oldenburg 34b5f07f1f
tiled draw path + removed 2 exported procs from paints.nim (#132) 2021-02-25 09:05:20 -08:00
Ryan Oldenburg d6e0b06135
updated iconset rendres (#131) 2021-02-24 22:05:32 -08:00
treeform c8c981b04e
Add paints to pixie. (#127)
Add paints for: solid, image, image tiled, linear, radial and angular gradients.
2021-02-24 21:49:21 -08:00
Ryan Oldenburg 704ecb7848 fix rendering artifact with clever idea from treeform 2021-02-24 23:09:06 -06:00
Ryan Oldenburg 6e7a08538d linecap, linejoin, miterAngleLimit 2021-02-24 19:48:23 -06:00
Ryan Oldenburg 380d284a66 another iconset + fixes 2021-02-23 17:30:46 -06:00
Ryan Oldenburg ca023c1a08 arc flag parse fix + another icon set 2021-02-23 16:22:29 -06:00
Ryan Oldenburg 987531b018 basic css, ionicons looking much better 2021-02-23 14:46:04 -06:00
Ryan Oldenburg 404b0504ab path commands to shapes bugfix 2021-02-23 13:46:47 -06:00
Ryan Oldenburg 0109fd8a36 new size 2021-02-23 01:58:23 -06:00
Ryan Oldenburg 8c3a5b80cd changed 2021-02-23 01:56:07 -06:00
Ryan Oldenburg dcf0a3fd60 more icon sets, couple fixes 2021-02-23 01:54:51 -06:00
treeform e41b8434eb
Compute pixel scale based on matrix max scale before doing the fill or storke. (#124) 2021-02-22 23:53:26 -08:00
Ryan Oldenburg 5846a415f9 wider image for onion skin diffing 2021-02-23 00:37:56 -06:00
Ryan Oldenburg fc2dc50c39 sweep flag fix for svg icons 2021-02-23 00:24:27 -06:00
Ryan Oldenburg 40afb8e4c4 bootstrap icons svg megatest + parse fixes 2021-02-22 22:14:06 -06:00
Ryan Oldenburg 34b3f09e43 fill and stroke helpers 2021-02-19 12:06:16 -06:00
Ryan Oldenburg b4edd635d5 support rect rx and ry for svg 2021-02-19 01:40:19 -06:00
Ryan Oldenburg 203a657c8a drawPolygon 2021-02-18 16:45:56 -06:00
Ryan Oldenburg 0362d03b0b drawEllipse, drawCircle 2021-02-18 16:33:41 -06:00
Ryan Oldenburg 3016790e8a drawSegment + updated examples 2021-02-18 14:03:08 -06:00
Ryan Oldenburg 505e2ff2d9 drawRect image, mask 2021-02-18 13:35:08 -06:00
Ryan Oldenburg 52e65f9d73 small change 2021-02-17 01:18:30 -06:00
Ryan Oldenburg d07c77095d blend + rotation mat test 2021-02-11 14:56:47 -06:00
Ryan Oldenburg b6b1d3a44c sharpen -> ceil 2021-02-11 13:14:06 -06:00
Ryan Oldenburg 29047d6a46 blends, blurs, masks checkpoint 2021-02-09 15:22:37 -06:00
Ryan Oldenburg 33479e5612 draw image into mask 2021-02-08 19:59:46 -06:00
Ryan Oldenburg 33b032550c draw mask on mask 2021-02-08 19:52:54 -06:00
Ryan Oldenburg 72a4c3efb3 test img, benchmark mask minifyby2 2021-02-08 16:34:05 -06:00
Ryan Oldenburg c5ce1a8029 bugfix for minifyBy2 power > 1 2021-02-08 12:47:01 -06:00
Ryan Oldenburg 9782855a8d image minifyBy2 test 2021-02-07 20:39:46 -06:00
Ryan Oldenburg 8a933e051e mask minifyBy2 2021-02-07 20:37:35 -06:00
Ryan Oldenburg 369066e04d masks + paths 2021-02-06 21:51:13 -06:00
Ryan Oldenburg 7c2014ee88 faster superImage + tests 2021-01-30 20:42:08 -06:00
Ryan Oldenburg 35ad210ec5 tiger 20% faster 2021-01-28 17:00:30 -06:00
Ryan Oldenburg 2c7694896f paths.nim expects and returns premultiplied alpha 2021-01-25 11:08:32 -06:00
Ryan Oldenburg 09cd7f959d 0.0.19 new scanline+fill 2021-01-24 23:34:31 -06:00
Ryan Oldenburg 0cb7b5ea3d 0.0.18 more paths.nim stuff 2021-01-24 22:02:45 -06:00
Ryan Oldenburg b41965ce3c 0.0.13 revert quad, unaligned simd fill for now 2021-01-22 17:27:20 -06:00
Ryan Oldenburg 7271cdfe80 arc discretize 2021-01-22 08:47:54 -06:00
Ryan Oldenburg cb621c2532 arc stuff, quad discretize 2021-01-22 08:42:28 -06:00
Ryan Oldenburg 882ae0127c fix tiger lip issue 2021-01-18 00:48:21 -06:00
Ryan Oldenburg 74169e4c15 bounds 2021-01-16 19:01:06 -06:00
Ryan Oldenburg 3908825db8
cubic curve compute (#50)
* cubic curve compute

* curve -> segments with error budget

* dynamic precision on curves
2021-01-15 18:22:51 -08:00
Ryan Oldenburg 444fb18355
use line intersection (#49) 2021-01-11 20:24:47 -08:00
treeform a5a133485a Image -d:debug vs -d:release image change. 2021-01-02 16:20:35 -08:00
treeform 5a33f0a3a2 Don't return a new image when filling paths. 2021-01-02 16:19:19 -08:00
Ryan Oldenburg 6f37f04ba4 support ellipse 2020-12-20 12:18:02 -06:00
Ryan Oldenburg da0527edcc organize tests/images a bit 2020-12-20 11:18:05 -06:00