Commit graph

586 commits

Author SHA1 Message Date
treeform bd46136952 Add arcs. 2021-07-10 23:00:01 -07:00
Ryan Oldenburg e5f909555e png seq[uint8] -> string internal, updated deps 2021-06-29 23:52:29 -05:00
Ryan Oldenburg f6f54ca8e5 bugfix + contexts clip uses mask fillPath blend mode 2021-06-27 17:11:55 -05:00
Ryan Oldenburg 32c3072e0a get smooth a bit smarter (faster in solid color case) 2021-06-27 16:24:56 -05:00
treeform 56b7361f65
Merge pull request #237 from guzba/master
fill paths faster, random stuff
2021-06-26 22:00:53 -07:00
treeform b109af248d Rename a var. 2021-06-26 21:50:04 -07:00
treeform c737670d26 Fix an import bug in pixie/demo. 2021-06-26 21:48:14 -07:00
treeform f67b940f2d Formating fixes. 2021-06-26 21:47:51 -07:00
Ryan Oldenburg c765026b67 morepretty 2021-06-26 23:16:35 -05:00
Ryan Oldenburg 60f5801b71 fill paths faster 2021-06-26 23:11:18 -05:00
Ryan Oldenburg 0656d7566a f 2021-06-26 20:46:10 -05:00
treeform 7a1a2850c2 More tests and docs. 2021-06-25 22:10:53 -07:00
treeform 1ee2532087 Draw with source cutout. 2021-06-25 22:07:02 -07:00
Ryan Oldenburg fbc6df5fa0 not inline 2021-06-25 22:41:09 -05:00
treeform ecb3673372 Add drawImage to context. 2021-06-25 20:35:40 -07:00
Ryan Oldenburg 42c1a5e2be f 2021-06-25 22:30:49 -05:00
Ryan Oldenburg b1bc2d048c name fix 2021-06-25 22:24:45 -05:00
Ryan Oldenburg 205f091012 shorter 2021-06-25 17:17:20 -05:00
Ryan Oldenburg 9e132b6457 small stuff 2021-06-25 16:55:51 -05:00
Ryan Oldenburg 2232e09a27 masks and images conversion 2021-06-25 01:20:04 -05:00
Ryan Oldenburg ac1bd9e64c simpler 2021-06-24 19:10:05 -05:00
Ryan Oldenburg 2deaa3988a spread >10x faster using same strategy as blur 2021-06-19 15:27:45 -05:00
Ryan Oldenburg 0fa2a9fe6b better this way 2021-06-19 00:25:47 -05:00
Ryan Oldenburg a838de821c paths.nim masks take blendMode for masking, tests, fixes and etc 2021-06-18 21:53:46 -05:00
treeform 1ee3d3902a Fixing blends 2021-06-18 16:39:55 -07:00
treeform ff0a69b9de done 2021-06-18 15:48:05 -07:00
treeform cd5f699774 Remove bmIntersectMask (its just mask) 2021-06-18 15:26:06 -07:00
treeform b34f4260de Fix blending with bmMask. 2021-06-18 15:26:06 -07:00
Ryan Oldenburg 51d38c7e37 2x faster mask minifyBy2 2021-06-18 16:04:25 -05:00
Ryan Oldenburg f72fff8651 draw proc cleanup 2021-06-18 15:30:02 -05:00
Ryan Oldenburg 54ee511a47 fix pixieNoSimd bug + add to github actions 2021-06-18 15:20:26 -05:00
Ryan Oldenburg 2870fca47e 4x faster minifyBy2 2021-06-18 00:59:31 -05:00
Ryan Oldenburg d18a268600 faster + benchmark 2021-06-17 23:09:00 -05:00
Ryan Oldenburg e16fcb595d benchmark 2021-06-17 21:25:54 -05:00
Ryan Oldenburg aeb531aedb small 2021-06-17 19:01:03 -05:00
Ryan Oldenburg 5a3e2b8ad7 4x faster magnifyBy2 2021-06-17 17:46:09 -05:00
Ryan Oldenburg 6ed047a702 f 2021-06-17 16:16:32 -05:00
Ryan Oldenburg 7dfea4dc39 context.nim -> contexts.nim, pixieDebugSvg 2021-06-12 11:34:45 -05:00
Ryan Oldenburg c93726dd86 up zippy dep 2021-06-08 11:20:15 -05:00
Ryan Oldenburg fb87aecd1d fill closes subpaths 2021-06-06 01:17:07 -05:00
Ryan Oldenburg 3e4b66b093 faster 2021-06-05 01:38:28 -05:00
Ryan Oldenburg 9ccbcf7347 small 2021-06-04 17:55:07 -05:00
Ryan Oldenburg 046556fdef do not export path.commands 2021-06-04 15:57:04 -05:00
Ryan Oldenburg c124b64eea f 2021-06-04 15:57:04 -05:00
Ryan Oldenburg f157a11ebf fill faster when not doing aa 2021-06-04 01:05:15 -05:00
Ryan Oldenburg 2e1f9a81b8 hits iterator 2021-06-04 01:05:08 -05:00
Ryan Oldenburg 1395abaff9 anti-aliasing optimization 2021-06-03 18:05:07 -05:00
Ryan Oldenburg 57ab45f7a1 2.0.4 2021-06-03 00:08:43 -05:00
Ryan Oldenburg 4096ed585a improve github actions 2021-06-02 23:58:43 -05:00
Ryan Oldenburg 7581216484 fix arc perf issue 2021-06-02 18:25:55 -05:00
Ryan Oldenburg 4760b2643f early exists + fix for dll 2021-06-02 18:25:55 -05:00
Ryan Oldenburg 350d01cda7 textUber 2021-06-01 14:50:07 -05:00
Ryan Oldenburg f45bb70ed7 morepretty updated 2021-06-01 13:50:49 -05:00
Ryan Oldenburg 7f984d0bf0 fix 2021-06-01 13:30:46 -05:00
Ryan Oldenburg 3658ff40c3 context globalAlpha 2021-05-31 21:05:27 -05:00
Ryan Oldenburg 1022fdcbe2 both possible 2021-05-31 20:44:04 -05:00
Ryan Oldenburg 7ea0a37013 morepretty 2021-05-31 20:41:03 -05:00
Ryan Oldenburg 3b6474b565 underline, strikethrough 2021-05-31 20:33:11 -05:00
Ryan Oldenburg 8ce82c20b2 rename 2021-05-31 19:22:51 -05:00
Ryan Oldenburg a08019518c f 2021-05-30 16:08:08 -05:00
Ryan Oldenburg de8fda9a81 insertion sort hits faster 2021-05-30 14:54:27 -05:00
treeform b087dd23bd Add fill leak checker (use -d:pixieLeakCheck). 2021-05-29 16:26:31 -07:00
treeform 52bd58fa45 Fix rounded join bug. 2021-05-29 15:15:54 -07:00
Ryan Oldenburg 284f7fce04 2.0.2 2021-05-29 16:17:41 -05:00
Ryan Oldenburg e76549368e computePixelBounds 2021-05-29 16:11:18 -05:00
Ryan Oldenburg f960349518 better with names 2021-05-29 15:57:55 -05:00
Ryan Oldenburg 531bf5c286 faster, better 2021-05-29 15:48:46 -05:00
Ryan Oldenburg 2f8fbcd792 leak fix 2021-05-29 02:26:14 -05:00
Ryan Oldenburg 6606665fe2 f 2021-05-29 01:49:48 -05:00
treeform 356f663039
Merge pull request #209 from guzba/master
svg improvements, emoji megatest, ctx blend test, remove seq[seq[Vec2]] from SomePath
2021-05-27 18:08:00 -07:00
Ryan Oldenburg 2f88639f1d svg bugfixes, improvements, emoji megatests 2021-05-27 19:46:39 -05:00
Ryan Oldenburg 10bc3100e6 docs, bugfix, ctx blend test, remove seq[seq[Vec2]] from SomePath 2021-05-27 17:27:19 -05:00
treeform ac77fef16e morepretty 2021-05-26 17:52:45 -07:00
treeform 49a281d210 Fix demo imports. 2021-05-26 17:41:52 -07:00
Ryan Oldenburg 2afcbaa621 fix path parse bug for m 1 2 3 4 5 6... 2021-05-24 19:25:04 -05:00
Ryan Oldenburg bf674b93e3 docs 2021-05-24 00:32:34 -05:00
Ryan Oldenburg 00dd3faa95 svg stroke-dasharray 2021-05-23 22:31:16 -05:00
Ryan Oldenburg 1e39ce2c80 context line dashes 2021-05-23 21:43:47 -05:00
Ryan Oldenburg dbee65c608 cleaner, icons megatest 2021-05-23 21:23:51 -05:00
Ryan Oldenburg dfc062e0f2 svg miterlimit 2021-05-23 21:18:15 -05:00
Ryan Oldenburg 8ca46d86e3 morepretty 2021-05-23 21:04:58 -05:00
Ryan Oldenburg 58ccbf025a context miterLimit 2021-05-23 21:01:54 -05:00
Ryan Oldenburg b73b88bb63 layers 2021-05-23 20:47:32 -05:00
Ryan Oldenburg 145d54c7e6 rm 2021-05-23 20:46:44 -05:00
Ryan Oldenburg 3c548dd7b9 parse post table 2021-05-23 20:46:44 -05:00
treeform 6fb1323101
Add dashes. (#202)
* Add dashes.
* Miter limits as ratio everywhere.
* Remove some fill and stroke overloads.
2021-05-23 18:46:19 -07:00
treeform 08dac8e241
Add high DPI support for Demo. (#197)
* Add high DPI support for Demo.
2021-05-23 16:46:26 -07:00
treeform fc557e372a
Merge pull request #201 from timotheecour/pr_fix_pixie_D20210519T113112
fix pixie for https://github.com/nim-lang/Nim/pull/18050
2021-05-23 10:34:56 -07:00
Timothee Cour 1ec7cefda2 fix pixie for https://github.com/nim-lang/Nim/pull/18050 2021-05-22 21:37:58 -07:00
Ryan Oldenburg 41cd488ae3 context clip support 2021-05-22 21:43:42 -05:00
Ryan Oldenburg b88d36be13 morepretty 2021-05-22 19:07:53 -05:00
Ryan Oldenburg 3b0f841d70 circle to paths.nim 2021-05-22 19:06:10 -05:00
zetashift a9b38bc321 Add fillCircle and strokeCircle taking a Circle for Context 2021-05-22 20:01:14 +02:00
Ryan Oldenburg 5cc8e911d1 move image helpers from pixie.nim to context.nim 2021-05-21 00:54:55 -05:00
Ryan Oldenburg e5da43b059 more clear 2021-05-19 13:22:57 -05:00
Ryan Oldenburg 3699405203 typos 2021-05-19 13:15:53 -05:00
Ryan Oldenburg fac02141f2 typos 2021-05-19 13:13:54 -05:00
Ryan Oldenburg 58c262849d context docs 2021-05-19 13:09:00 -05:00
Ryan Oldenburg bb0d44c23e feedback 2021-05-19 00:38:12 -05:00
Ryan Oldenburg 0d65dffccc add context api 2021-05-19 00:06:02 -05:00