Commit graph

47 commits

Author SHA1 Message Date
Alonso Torres
fa0da3a695
Flex layout modifiers wasm implementation
*  Flex layout modifiers wasm implementation

*  Flex auto modifiers propagation
2025-03-17 10:46:32 +01:00
Belén Albeza
eb6d2fb0eb
🎉 Store custom fonts (ttfs) and use them to write texts (wasm) (#6050) 2025-03-14 12:45:15 +01:00
Belén Albeza
aa468e2153
🎉 Render plain text
* 🎉 Serialize text content (wasm)

* ♻️ Refactor functions in main to wasm module

* 🎉 Stub rendering of paragraph text (wasm)

* 📎 Clean up commented code
2025-03-04 11:54:52 +01:00
alonso.torres
80d5272248 Serialize layout data 2025-02-25 15:43:12 +01:00
alonso.torres
8c1e18b1cd 🐛 Fix problem with images 2025-02-20 17:57:36 +01:00
alonso.torres
9143187efd Modify shapes geometry instead of transformation matrix 2025-02-20 17:39:17 +01:00
alonso.torres
2341dfb95d 🐛 Fix problems with constraints resizing 2025-02-20 14:20:01 +01:00
Alonso Torres
6cb1aa24cd
Add constraints calculation on WASM (#5894)
*  Add constraints calculation on WASM

*  Fix after review
2025-02-19 10:40:04 +01:00
Belén Albeza
6cbaacf1e0
🎉 Implement inner shadows (wasm) (#5767)
* 🎉 Implement inner shadows (wasm)

* 🐛 Fix reset canvas problem

---------

Co-authored-by: alonso.torres <alonso.torres@kaleidos.net>
2025-02-14 13:46:30 +01:00
AzazelN28
f8d58cb74e 🎉 Feat masks 2025-02-13 12:54:18 +01:00
alonso.torres
3dcabc9502 Use skia matrix for internal data 2025-02-11 16:49:43 +01:00
alonso.torres
1bb337c3dd Add support for WASM transforms 2025-02-11 12:36:44 +01:00
Alejandro
09131f7533
🎉 Render drop shadows (wasm) (#5693)
Co-authored-by: Belén Albeza <belen@hey.com>
2025-01-28 15:10:06 +01:00
AzazelN28
fb4e92d0e8 ♻️ Refactor to make it more ECS friendly 2025-01-22 15:47:36 +01:00
Alejandro Alonso
79df616108 🎉 Basic wasm support for svg attrs and svg defs 2025-01-22 15:47:36 +01:00
Belén Albeza
6e7a8c239c 🎉 Implement rounded corners 2025-01-14 11:26:38 +01:00
Alejandro Alonso
7cc33b1a1a 🎉 Render wasm blur support 2025-01-13 07:48:11 +01:00
Belén Albeza
4e5f67676c 🎉 Implement boolean operations (wasm) 2025-01-09 17:14:48 +01:00
Alejandro Alonso
beb9120b2b 🎉 Basic strokes wasm support 2025-01-03 08:32:05 +01:00
Belén Albeza
e1c5cd6640 🐛 Fix path rotation 2024-12-13 13:03:23 +01:00
Belén Albeza
c9355a257a ♻️ Refactor custom matrix code into submodule 2024-12-10 16:15:07 +01:00
Belén Albeza
9f7428d44a ♻️ Fix visibility of Shape properties 2024-12-10 16:07:33 +01:00
Belén Albeza
7b1934dcb6 ♻️ Create an ImageStore type 2024-12-10 15:41:50 +01:00
Belén Albeza
967bc75a1c ♻️ Move rendering a single shape to the shape itself 2024-12-10 15:29:49 +01:00
Alejandro Alonso
307329cf2e 🎉 Render wasm ellipses support 2024-12-10 14:31:26 +01:00
Belén Albeza
33e70a4108
Merge pull request #5410 from penpot/superalex-radial-gradients-wasm-render
🎉 Support for radial gradients with wasm render
2024-12-10 14:18:09 +01:00
Alejandro Alonso
e1d9efea7f 🎉 Suport for show-content in render wasm 2024-12-10 10:28:11 +01:00
Alejandro Alonso
09aa4529f8 🎉 Support for radial gradients with wasm render 2024-12-10 07:05:59 +01:00
Belén Albeza
99bb3ee962 🎉 Render path fills 2024-12-09 16:06:15 +01:00
Belén Albeza
0bfcc1f854 🎉 Deserialize shape data in wasm 2024-12-09 15:48:45 +01:00
AzazelN28
22b01c63b5 🎉 Serialize data in clojure 2024-12-09 15:48:44 +01:00
Alejandro Alonso
07215357d6 🎉 Hidden layer support for wasm render 2024-12-05 15:10:15 +01:00
Belén Albeza
7105e49ac2 ♻️ Refactor adding gradient stops 2024-12-03 13:49:29 +01:00
Alejandro Alonso
0a3c6f38ef 🎉 Render wasm fill images 2024-12-03 13:08:19 +01:00
Belén Albeza
00ab9ad3f0 ♻️ Refactor blend mode and fills into their own submodules 2024-11-29 11:46:45 +01:00
Belén Albeza
c8e322cd58 🎉 Render liner gradient fills 2024-11-28 16:51:28 +01:00
Belén Albeza
ca70edf07b 🔧 Set up Rust jobs in CI 2024-11-25 13:14:46 +01:00
Alejandro Alonso
d09e5ef9b3 🎉 Shape opacity for wasm render 2024-11-25 09:26:49 +01:00
Belén Albeza
6fd6074934 💄 Format rust code 2024-11-21 17:23:49 +01:00
AzazelN28
f7ff3129ed 🎉 Render only visible shapes 2024-11-21 16:05:14 +01:00
Belén Albeza
966e942a7f 🎉 Implement drawing with blend mode (single fill) 2024-11-13 16:39:26 +01:00
Alejandro Alonso
c1d213a0cd 🎉 Refactor naming anidated shapes with children for wasm render 2024-11-13 13:35:28 +01:00
Belén Albeza
539d5dfc08 🎉 Draw solid fills for shapes 2024-11-13 13:05:42 +01:00
Belén Albeza
49b4eabe8b 🐛 Fix transform matrix being carried to non-children shapes 2024-11-13 10:57:14 +01:00
Alejandro Alonso
b149f96500 🎉 Recursive drawing shapes in rust 2024-11-13 07:45:47 +01:00
Alejandro Alonso
65ee2f9081 🎉 Save shape data in rust memory 2024-11-12 12:13:06 +01:00
Belén Albeza
4623f36042 Write shapes directly to wasm memory 2024-10-29 11:30:31 +01:00