Commit graph

564 commits

Author SHA1 Message Date
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