Commit graph

628 commits

Author SHA1 Message Date
Ryan Oldenburg 3c46c2ccb9 binding bugfix 2021-09-01 22:32:47 -05:00
Ryan Oldenburg a22a1559d3 binding bugfix 2021-09-01 22:32:47 -05:00
Ryan Oldenburg 5a691153a1 add lower level png decoding api 2021-09-01 16:24:32 -05:00
Ryan Oldenburg c33067e360 bugfix 2021-08-31 23:30:40 -05:00
Ryan Oldenburg 452de0fbae use nicer bindy 2021-08-31 17:54:37 -05:00
Ryan Oldenburg 4acfe18b56 fix opentype gpos parsing bug 2021-08-28 19:49:10 -05:00
Ryan Oldenburg c7421e3e85 colorStop 2021-08-26 22:24:35 -05:00
Ryan Oldenburg 4bee35753f feedback 2021-08-26 20:32:25 -05:00
Ryan Oldenburg 6ba0813007 nim owned seq helpers, fix nim unref 2021-08-26 13:06:29 -05:00
Ryan Oldenburg 7debb739f9 small things 2021-08-23 18:18:35 -05:00
Ryan Oldenburg f00860a9cc morepretty 2021-08-18 22:53:04 -05:00
Ryan Oldenburg 46cf47bdeb prune some raises 2021-08-18 22:50:31 -05:00
Ryan Oldenburg 94a0f3e151 raises 2021-08-18 18:24:49 -05:00
Ryan Oldenburg 8c9daadd04 morepretty 2021-08-17 23:11:48 -05:00
treeform fdef525352 Perf improvement for isOneColor. 2021-08-17 20:45:42 -07:00
treeform ec8f812e66 Fix isOneColor. 2021-08-17 20:42:13 -07:00
treeform b84746f6f2 Fix isTransparent and add test. 2021-08-17 20:25:36 -07:00
Ryan Oldenburg fe6fb8c90e computeBounds, bindings changes 2021-08-17 20:21:20 -05:00
Ryan Oldenburg 7e56800de7 image isTransparent isOneColor 2021-08-17 16:14:31 -05:00
Ryan Oldenburg d8afee9bf3 superImage 2021-08-17 15:15:39 -05:00
Ryan Oldenburg 412baf6c19 more binding prep 2021-08-17 15:15:39 -05:00
Ryan Oldenburg abbe4f63ea more changes for bindings 2021-08-12 21:41:43 -05:00
Ryan Oldenburg 8c458d2ab2 paint uses color 2021-08-11 23:25:30 -05:00
Ryan Oldenburg a95d1f546b changes noticed while working on bindings 2021-08-11 19:42:57 -05:00
Ryan Oldenburg 6d9ab5b200 paint as ref object 2021-08-06 19:00:06 -05:00
Ryan Oldenburg 3f08c2bfa4 path as ref object 2021-08-06 14:39:21 -05:00
Ryan Oldenburg 28067d6979 f 2021-08-06 14:13:07 -05:00
Ryan Oldenburg df49cc4b01 morepretty 2021-08-06 14:07:26 -05:00
Ryan Oldenburg daaa71b2b1 font as ref object 2021-08-06 01:26:20 -05:00
Ryan Oldenburg 43d08f9ddf f 2021-07-19 22:56:55 -05:00
Ryan Oldenburg 789d543faf morepretty 2021-07-19 00:50:49 -05:00
Ryan Oldenburg 2ee4f747e2 implement svg opacityy, fill-opacity, stroke-opacityy, linearGradient 2021-07-19 00:49:30 -05:00
Ryan Oldenburg 836873d78f sort changes 2021-07-18 22:49:34 -05:00
Ryan Oldenburg b57da6d14c feedback 2021-07-18 17:26:06 -05:00
Ryan Oldenburg e5cccb63d1 morepretty 2021-07-18 16:59:50 -05:00
Ryan Oldenburg c3e168caa4 paint has opacity 2021-07-18 16:56:20 -05:00
Ryan Oldenburg dd9cd51310 font can have mulitple paints but still has simple paint api for 99% case 2021-07-18 15:41:04 -05:00
Ryan Oldenburg 805d9d0789 just return 2021-07-18 13:36:06 -05:00
Ryan Oldenburg a39f3296c7 more clear the if is dependant 2021-07-18 13:34:57 -05:00
Ryan Oldenburg d097fda55b context isPointInPath isPointInStroke 2021-07-18 13:20:22 -05:00
treeform ee48d9cdd9
Merge pull request #242 from treeform/arcs
Add arcs.
2021-07-10 23:39:33 -07:00
treeform 48694ad735 Add vector overloads of arc and arcTo. 2021-07-10 23:31:25 -07:00
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