Commit graph

856 commits

Author SHA1 Message Date
treeform
8a88cd29fa No need to check for rune.uint32 > SP.uint32 because typeset alreayd does. 2021-10-03 11:12:56 -07:00
Andre von Houck
c0f31b276f Add font fallback. 2021-10-03 11:12:56 -07:00
Andre von Houck
83dc10170f Rename lerp to mix. lerp is deprixated and GLSL uses mix. 2021-09-26 14:02:28 -07:00
Andre von Houck
c91251e135 Convert var to let when appropriate. 2021-09-26 13:59:08 -07:00
Ryan Oldenburg
303abc6249 fix multi-break long words 2021-09-12 15:43:26 -05:00
treeform
a5cd9cd35e Merge branch 'master' of github.com:treeform/pixie 2021-09-10 13:04:29 -07:00
treeform
190eb92ef8 Fix computeBounds with \n at the end. 2021-09-10 13:04:24 -07:00
Ryan Oldenburg
267c78756a morepretty 2021-09-09 18:07:14 -05:00
Ryan Oldenburg
9e40bd1c20 f 2021-09-08 23:10:02 -05:00
Ryan Oldenburg
3d424577c9 morepretty 2021-09-08 23:06:17 -05:00
Ryan Oldenburg
60bcff9bb2 simd draw bugfix 2021-09-08 22:59:47 -05:00
treeform
fb232a8d4a
Merge pull request #284 from treeform/fonts1
Fix selection rects align to pixel logic.
2021-09-08 18:09:39 -07:00
treeform
8a67455f73 Fix selection rects align to pixel logic. 2021-09-08 17:42:58 -07:00
Ryan Oldenburg
f64b99c950 bindings work 2021-09-07 18:47:01 -05:00
treeform
cba533e737 Add hasGlyph 2021-09-07 13:08:45 -07:00
treeform
8d1a84efea Fix strikethough and underline for CFF fonts with winding order flag. 2021-09-07 13:08:44 -07:00
treeform
fec8d7a5d0
Merge pull request #278 from treeform/fonts1
Working on fonts.
2021-09-06 10:24:12 -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
d8f6e870a3 f 2021-09-03 12:10:34 -07:00
treeform
3fa9d34544 Add test for a CID based font. 2021-09-03 12:03:36 -07:00
treeform
6539002e5e f 2021-09-03 12:01:41 -07:00
treeform
7b5ef3c87a clean 2021-09-03 08:33:15 -07:00
treeform
692c91283d CFF works 2021-09-03 08:19:30 -07:00
treeform
5188f28eb0 f 2021-09-02 10:35:46 -07:00
treeform
439c14ee5b Make readVersion16Dot16 work. 2021-09-02 10:30:45 -07:00
Ryan Oldenburg
592b242139 easy encode raw png 2021-09-02 12:15:50 -05:00
treeform
0b8df86337 Add failUnsupported messges. 2021-09-02 09:55:57 -07:00
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
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
Ryan Oldenburg
d491fe26b9 move font rasterize procs to fonts.nim, add join and cap param 2021-05-18 00:48:44 -05:00
Ryan Oldenburg
d87b423430 v2.0.0 add transform to pixie.nim helpers 2021-05-17 23:39:47 -05:00
Andre von Houck
fcfcadc9dc Add mouse wheel support to demo. 2021-05-13 13:29:44 -07:00
Ryan Oldenburg
e186456788 add filePath to typeface 2021-05-11 22:40:40 -05:00
Ryan Oldenburg
7c6a0ab75a f 2021-05-11 22:40:40 -05:00
Ryan Oldenburg
e5642dc470 f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
666746d82e span fixes, more tests 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
a34831e52c return early 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
eae3b5e443 spans 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
10311fae70 check for invalid 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
f67b17348f feedback improvements 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
11fdc30399 paint on font 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
4d2d780a51 allow trailing data 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
db4913635d andre fixes 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
6a1679fabb f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
f969a04a03 move textCase, kerning flag 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
e931bd0319 computeBounds, no iterator 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
85bd786dd0 feedback 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
62c7fcd7ed f 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
a7ab10b8bf morepretty 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
43e80a70ab docs 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
fe59c77230 simpler 2021-05-11 22:40:39 -05:00
Ryan Oldenburg
a97f2171a4 uint32 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
7b2393874b arrangement api 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
eb550c0671 text alignments 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
5130651f15 wrap flag 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
20eb1af118 selection rects, better initial y 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
4a670e19df title case fix from andre 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
5c6725c4e3 handle control runes, newline 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
e5a463aaa3 names possibility 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
05889d51e4 fixes 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
6a618b9e6b morepretty 2021-05-11 22:40:25 -05:00
Ryan Oldenburg
a5f6fa4022 feedback 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
a8aef40637 a bit cleaner 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
b0e7a1ae56 tests 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
93a854c7b2 improvement? 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
eafd18fa7e more tests 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
cbfccea851 f 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
dc773555a8 f 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
410057806e space fix for paragraph 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
c166183f35 inline 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
cfb00b9b18 font bounds and benchmark 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
33b8a5a839 cleaner + perf 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
9b7fa748d8 todo 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
0ff8eb39c9 bugfix, dont ignore translate for initial relative move 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
8c11669e7f f 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
4804293a4a copymem for unfiltered rows 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
6c9abf4084 fuzz fix 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
f325633a9b feedback addressed 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
b42b9d649a svg fonts + move stuff around 2021-05-11 22:40:24 -05:00
Ryan Oldenburg
bf4174abd9 readfont extensions 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
8574b12900 typeface + cleaner 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
a076205882 f 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
566636c99e feedback 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
512e49e6e7 only return kern if we parsed it 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
7ae3d5c418 megatest start + improvements 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
4bdcc67baa kerning 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
9dc96f45ce kern parse 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
2694a67c52 font api tests 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
082f16096f simple api attempt 1 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
267294a3e8 basic font start 2021-05-11 22:40:23 -05:00
Ryan Oldenburg
7d3d5acfb5 scale as test 2021-04-26 19:50:00 -05:00
Joris Bontje
2e93a75bb7 Add SVG scale transform and non-zero / negative viewbox offset 2021-04-21 15:28:53 +02:00
treeform
101619a9e6 Fix small png loading bug. 2021-04-19 08:48:51 -07:00
treeform
a781580ac8 1.1.3: Use fractional from vmath. 2021-04-18 16:54:00 -07:00
Ryan Oldenburg
8dbb78c387 png decode perf improvement 2021-04-11 13:09:16 -05:00
treeform
75915ab05f 1.1.2: Update deps and docs. 2021-03-26 14:10:11 -07:00
treeform
4aa1afc0c2 1.1.1 Fix bug with stroke cricle. 2021-03-15 08:05:47 -07:00
treeform
d7330c7eb3 Small demo.nim import/export improvement. 2021-03-11 20:48:03 -08:00
treeform
38bcd8973c
Add demo.nim to be used for active (keyboard, mouse, screen) demos. (#151) 2021-03-11 20:09:12 -08:00
Ryan Oldenburg
99a2a0ba40 1.1.0 SomeColor 2021-03-11 21:47:45 -06:00
Ryan Oldenburg
ad24e4d836 1.0.5 converters, morepretty 2021-03-03 12:48:22 -06:00
Ryan Oldenburg
10fb0ad40f use zippy bitstream in gif.nim 2021-03-01 12:02:21 -06:00
treeform
c8269d5db9 Add GIF file format. 2021-03-01 08:53:15 -08:00
treeform
d248457b0b Some gif improvments. 2021-03-01 08:46:03 -08:00
treeform
dc52e6f77b Add gif fuzzing. 2021-03-01 08:38:00 -08:00
treeform
c7ff50660e Fix gif test. 2021-03-01 01:07:33 -08:00
treeform
5e7096dfd7 Merge branch 'master' of github.com:treeform/pixie 2021-03-01 01:01:11 -08:00
treeform
e0ebc1c655 Started work on gif image loader. 2021-03-01 01:01:04 -08:00
Ryan Oldenburg
a71b3150c7 add image diff 2021-02-28 01:00:56 -06:00
treeform
a79cad9d90 Rename lookup to kernel. 2021-02-26 23:06:13 -08:00
treeform
9508150e99 Fix bug with mask.fillPath. 2021-02-26 23:01:28 -08:00
Ryan Oldenburg
7aee1b5d82 spread optimization + spread and blur bugfix 2021-02-27 00:36:35 -06:00
Ryan Oldenburg
a04388ee43 funny blur speedup 2021-02-27 00:01:01 -06:00
Ryan Oldenburg
6ec7ec0fbb f 2021-02-26 23:37:47 -06:00
Ryan Oldenburg
3b109567e9 remove todo 2021-02-26 19:23:19 -06:00
Ryan Oldenburg
01b353f903 simpler 2021-02-26 19:21:44 -06:00
Ryan Oldenburg
004182a122 simpler + out of bounds color for image blur 2021-02-26 19:10:48 -06:00
Ryan Oldenburg
36352685e1 bugfix blur perf rgba/rgbx 2021-02-26 18:46:21 -06:00
Ryan Oldenburg
39d316d0d7 blur performance improved 2021-02-26 18:06:28 -06:00
Ryan Oldenburg
117cad90b2 separate image and masks blur 2021-02-26 17:35:52 -06:00
Ryan Oldenburg
5722ef51d3 quick optimization 2021-02-26 10:28:05 -06:00
treeform
076dc60468 Fix gradients to use rgbx. 2021-02-25 16:26:55 -08:00
Ryan Oldenburg
64cfab293d migrate public api to rgbx 2021-02-25 18:11:58 -06:00
Ryan Oldenburg
f04f8e9478 images are always premultipled alpha 2021-02-25 16:11:36 -06:00
Ryan Oldenburg
b623150b3f shortcut 2021-02-25 15:13:14 -06:00
Ryan Oldenburg
5e3e489f61 internal.nim 2021-02-25 12:16:33 -06:00
Ryan Oldenburg
751b804679 morepretty 2021-02-25 11:43:09 -06:00
Ryan Oldenburg
7b9d968381 small comment things 2021-02-25 11:39:30 -06:00
Ryan Oldenburg
34b5f07f1f
tiled draw path + removed 2 exported procs from paints.nim (#132) 2021-02-25 09:05:20 -08:00
treeform
f68fb9919c Another doc pass. 2021-02-25 07:26:51 -08:00
treeform
a038e5ae6e Another doc pass. 2021-02-25 07:16:20 -08:00
treeform
50a472ceb9 Another doc pass. 2021-02-25 07:05:53 -08:00
treeform
4a4c260064 Doc pass. 2021-02-25 06:52:20 -08:00
treeform
12b9ad2ff7 add docs comments 2021-02-25 06:27:58 -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
2b000ca9ca add missing pixelScale 2021-02-24 22:22:33 -06:00
Ryan Oldenburg
3d3dc58bce move proc, more tests 2021-02-24 22:19:09 -06:00
Ryan Oldenburg
6e7a08538d linecap, linejoin, miterAngleLimit 2021-02-24 19:48:23 -06:00
Ryan Oldenburg
042d455cb0 fix 2021-02-23 20:25:23 -06:00
Ryan Oldenburg
11fe02c25e strip 2021-02-23 17:54:26 -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
dc0246814e path parse bugfix 2021-02-23 14:09:15 -06:00
Ryan Oldenburg
404b0504ab path commands to shapes bugfix 2021-02-23 13:46:47 -06:00
Ryan Oldenburg
aa19910380 merge into test_paths.nim 2021-02-23 13:26:59 -06:00
Ryan Oldenburg
cda6dabf60 f 2021-02-23 13:26:59 -06:00
Ryan Oldenburg
bdbaaa33cb f 2021-02-23 02:00:34 -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
fc2dc50c39 sweep flag fix for svg icons 2021-02-23 00:24:27 -06:00
Ryan Oldenburg
7b02ca4dd5 remove code 2021-02-22 23:20:05 -06:00
Ryan Oldenburg
5fa35c7852 default svg load 2021-02-22 22:35:08 -06:00
Ryan Oldenburg
40afb8e4c4 bootstrap icons svg megatest + parse fixes 2021-02-22 22:14:06 -06:00
Ryan Oldenburg
8cf6c5cd2f move comment 2021-02-22 18:42:44 -06:00
Ryan Oldenburg
6cb2491825 f 2021-02-22 18:39:27 -06:00
Ryan Oldenburg
7b0bd8753f strokes always wrNonZero 2021-02-22 16:30:28 -06:00
Ryan Oldenburg
bca5119e8b linecap, linejoin 2021-02-20 13:31:25 -06:00