Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt
2025-02-21 01:37:13 +01:00
Ian Douglas Scott
3fc57b7d95
Remove surface argument of Compositor::screenshot
...
This argument was completely ignored by the wgpu renderer, and used only
for the `clip_mask` by the `tiny_skia` renderer. I believe creating a
new clip mask is correct.
This way it's possible to render offscreen without needing a surface.
2024-11-21 16:26:17 -08:00
Vlad-Stefan Harbuz
ec39390c23
Add stroke_rectangle
...
This method should be able to leverage performance improvements in lyon's
`tessellate_rectangle` over `tessellate_path`.
2024-09-10 23:44:04 +02:00
Héctor Ramón Jiménez
d4b08462e5
Introduce Svg struct in core::svg
2024-08-04 04:52:55 +02:00
Héctor Ramón Jiménez
92bd3ecd6b
Introduce Image struct in core::image
2024-08-04 04:30:12 +02:00
Héctor Ramón Jiménez
974ae6d1e7
Fix broken imports in iced_renderer
2024-08-04 03:39:53 +02:00
Héctor Ramón Jiménez
0ceee1cf3a
Implement image support for canvas widget
2024-08-04 03:28:43 +02:00
Héctor Ramón Jiménez
fa9e1d96ea
Introduce dynamic opacity support for Image and Svg
2024-05-03 13:25:58 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals
2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
09a6bcfffc
Add Image rotation support
...
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-05-02 17:27:45 +02:00
Héctor Ramón Jiménez
b5b78d505e
Introduce canvas::Cache grouping
...
Caches with the same `Group` will share their text
atlas!
2024-04-30 07:57:54 +02:00
Héctor Ramón Jiménez
6ad5bb3597
Port iced_tiny_skia to new layering architecture
2024-04-09 22:25:16 +02:00
Héctor Ramón Jiménez
d922b47815
Reintroduce support for custom primitives in iced_wgpu
2024-04-08 15:04:35 +02:00
Héctor Ramón Jiménez
13289dbd19
Merge branch 'master' into wgpu/better-architecture
2024-04-07 14:06:52 +02:00
Héctor Ramón Jiménez
5cd98f069d
Use built-in [lints] table in Cargo.toml
2024-04-07 12:42:12 +02:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything
2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture
2024-04-03 21:07:54 +02:00
Héctor Ramón Jiménez
6216c513d5
Use generic Content in Text to avoid reallocation in fill_text
2024-04-01 11:30:01 +02:00
Héctor Ramón Jiménez
4f5b63f1f4
Reintroduce backend selection through ICED_BACKEND env var
2024-03-24 08:04:28 +01:00
Héctor Ramón Jiménez
441e9237cd
Rename compositor::Renderer to Default
2024-03-22 19:35:19 +01:00
Héctor Ramón Jiménez
a2c897792c
Fix unnecessary into calls in iced_renderer::fallback
2024-03-22 07:12:46 +01:00
Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application
2024-03-22 07:09:51 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature
2024-03-22 05:27:31 +01:00
Héctor Ramón Jiménez
85800c99ab
Fix broken links in documentation
2024-03-22 01:53:48 +01:00
Héctor Ramón Jiménez
53a183fe0d
Restore canvas::Frame API
2024-03-22 01:35:14 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback
2024-03-21 22:27:17 +01:00