Commit graph

368 commits

Author SHA1 Message Date
treeform 190eb92ef8 Fix computeBounds with \n at the end. 2021-09-10 13:04:24 -07:00
Ryan Oldenburg 60bcff9bb2 simd draw bugfix 2021-09-08 22:59:47 -05:00
treeform a85b4a2905 Fix test. 2021-09-08 17:46:12 -07:00
treeform 8a67455f73 Fix selection rects align to pixel logic. 2021-09-08 17:42:58 -07:00
treeform 8d1a84efea Fix strikethough and underline for CFF fonts with winding order flag. 2021-09-07 13:08:44 -07:00
treeform 935a0eb5c2 Remove .wh on Images and Masks (it was odd one). 2021-09-06 10:05:56 -07:00
treeform 301c6bd31c Add tests for underline and strike though. More const. 2021-09-06 09:20:16 -07:00
treeform fd3c9f64e7 add test font 2021-09-03 12:15:57 -07:00
treeform 3fa9d34544 Add test for a CID based font. 2021-09-03 12:03:36 -07:00
treeform f92e6d49d1 Add test for CFF font. 2021-09-03 08:41:16 -07:00
Ryan Oldenburg e79d85c1a1 fail if kerning has issues parsing 2021-08-28 19:55:33 -05:00
Ryan Oldenburg 7debb739f9 small things 2021-08-23 18:18:35 -05:00
Ryan Oldenburg 8c9daadd04 morepretty 2021-08-17 23:11:48 -05:00
treeform b84746f6f2 Fix isTransparent and add test. 2021-08-17 20:25:36 -07: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 daaa71b2b1 font as ref object 2021-08-06 01:26:20 -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 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 f42d46be7a add test 2021-07-18 15:52:44 -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 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 18ed0a93cb fix masters 2021-06-29 23:10:51 -05:00
Ryan Oldenburg 5742fb7d95 remove warning 2021-06-29 15:08:26 -05:00
Ryan Oldenburg ba5cd80d7b svg masters + diffs 2021-06-28 21:50:09 -05:00
Ryan Oldenburg 2580829e67 move svg rendered 2021-06-28 20:57:47 -05:00
Ryan Oldenburg e780539168 updated + new pixie masters 2021-06-28 20:50: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 f67b940f2d Formating fixes. 2021-06-26 21:47:51 -07:00
Ryan Oldenburg c765026b67 morepretty 2021-06-26 23:16:35 -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
treeform 8736b74a3e add images 2021-06-25 21:52:48 -07:00
treeform f62b3962f4 add images 2021-06-25 20:36:24 -07:00
treeform ecb3673372 Add drawImage to context. 2021-06-25 20:35:40 -07: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 a33fcd9132 spread benchmarks 2021-06-19 15:26:08 -05:00
Ryan Oldenburg a838de821c paths.nim masks take blendMode for masking, tests, fixes and etc 2021-06-18 21:53:46 -05:00
Ryan Oldenburg 5e4f291f7d add test 2021-06-18 20:41:47 -05:00
treeform 8178670619 add images 2021-06-18 16:42:24 -07:00
treeform 1ee3d3902a Fixing blends 2021-06-18 16:39:55 -07:00
Ryan Oldenburg 51d38c7e37 2x faster mask minifyBy2 2021-06-18 16:04:25 -05:00
Ryan Oldenburg 280089b1b3 restore test 2021-06-18 15:36:00 -05:00
Ryan Oldenburg eb0d607796 add better minify test 2021-06-18 00:47:31 -05:00
Ryan Oldenburg 5ac2dc05f6 unused 2021-06-17 23:10:14 -05:00
Ryan Oldenburg d18a268600 faster + benchmark 2021-06-17 23:09:00 -05:00
Ryan Oldenburg 848a051310 add scale draw test 2021-06-17 21:39:00 -05:00
Ryan Oldenburg e16fcb595d benchmark 2021-06-17 21:25:54 -05:00
Ryan Oldenburg e4172aefee add magnify tests 2021-06-17 17:34:48 -05:00
Ryan Oldenburg 7dfea4dc39 context.nim -> contexts.nim, pixieDebugSvg 2021-06-12 11:34:45 -05:00
Ryan Oldenburg 7adb5c662f add examples to github actions 2021-06-06 23:39:05 -05:00
Ryan Oldenburg fb87aecd1d fill closes subpaths 2021-06-06 01:17:07 -05:00
Ryan Oldenburg 9ccbcf7347 small 2021-06-04 17:55:07 -05:00
Ryan Oldenburg c124b64eea f 2021-06-04 15:57:04 -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 6671103b35 rm duplicate 2021-06-01 01:49:50 -05:00
Ryan Oldenburg 3658ff40c3 context globalAlpha 2021-05-31 21:05:27 -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 de8fda9a81 insertion sort hits faster 2021-05-30 14:54:27 -05:00
Ryan Oldenburg 940f421060 benchmark text 2021-05-29 22:28:53 -05:00
Ryan Oldenburg 9e9d78323f zippy output change 2021-05-29 22:28:38 -05:00
treeform 568c22a56a Merge branch 'master' of github.com:treeform/pixie 2021-05-29 16:26:38 -07:00
treeform b087dd23bd Add fill leak checker (use -d:pixieLeakCheck). 2021-05-29 16:26:31 -07:00
Ryan Oldenburg 382a3b73ce updated megatest images 2021-05-29 17:18:08 -05:00
Ryan Oldenburg 85ae6ab3a9 rename 2021-05-29 15:51:35 -05:00
Ryan Oldenburg 2f8fbcd792 leak fix 2021-05-29 02:26:14 -05:00
Ryan Oldenburg 271e019365 more emoji test 2021-05-28 22:39:59 -05: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
Ryan Oldenburg 056db32440 blur benchmark comparison 2021-05-24 19:52:04 -05:00
Ryan Oldenburg ca6d891757 rename 2021-05-24 19:43:08 -05:00
Ryan Oldenburg 5358ec6d19 image loop benchmark 2021-05-24 19:40:06 -05: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 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 67c55b0422 multiple layers test 2021-05-23 20:53:06 -05:00
Ryan Oldenburg b73b88bb63 layers 2021-05-23 20:47:32 -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
Ryan Oldenburg 41cd488ae3 context clip support 2021-05-22 21:43:42 -05:00
Ryan Oldenburg 5cc8e911d1 move image helpers from pixie.nim to context.nim 2021-05-21 00:54:55 -05:00
Ryan Oldenburg 0d65dffccc add context api 2021-05-19 00:06:02 -05:00
Ryan Oldenburg d87b423430 v2.0.0 add transform to pixie.nim helpers 2021-05-17 23:39:47 -05:00