Commit graph

60 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
346af3f8b0
Make FontSystem global and simplify Paragraph API 2023-09-11 02:47:24 +02:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +02:00
Héctor Ramón Jiménez
9565123389
Remove unused unicode-segmentation dependency from iced_graphics 2023-09-09 23:06:06 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives 2023-06-29 07:18:20 +02:00
Bingus
677f564f08
Switched to packing using f16s to maintain acceptable precision. 2023-06-07 11:18:26 -07:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.

Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.

This feature flag should facilitate application development with `iced`
in those cases.

More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
Benoît du Garreau
dee8ede5be Update glam to 0.24 2023-05-22 17:23:42 +02:00
Héctor Ramón Jiménez
9c63eb7df5
Update tiny-skia and resvg 2023-04-26 16:46:27 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
3a26baa564
Remove image abstractions in iced_graphics 2023-03-07 03:47:49 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
bbeaf10c04
Mark Primitive as non-exhaustive in iced_graphics 2023-03-03 03:55:07 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia 2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
27e21a83f7
Merge branch 'update/svg-deps' into feature/software-renderer 2023-02-25 15:07:19 +01:00
Héctor Ramón Jiménez
1475f5fa58
Update resvg in iced_graphics 2023-02-25 15:04:40 +01:00
Héctor Ramón Jiménez
b9a9576207
Remove iced_glow, glyph-brush, and wgpu_glyph dependencies 2023-02-24 13:17:58 +01:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉 2022-11-10 01:20:11 +01:00
Héctor Ramón Jiménez
078cadfed0
Update image dependency to 0.24 2022-11-05 03:47:08 +01:00
Ian Douglas Scott
2c7c42ee93
Move image/svg handling into iced_graphics
The `TextureStore` trait is implemented by the atlas, and can also be
implemented in the glow renderer or in a software renderer.

The API here may be improved in the future, but API stability is
presumably not a huge issue since these types will only be used by
renderer backends.
2022-11-05 03:19:37 +01:00
Héctor Ramón Jiménez
921c94162e
Merge branch 'master' into fear/linear-gradients 2022-11-03 05:09:07 +01:00
Wyatt Herkamp
0a12590b6f
Update wgpu to 0.14 and wgpu_glyph to 0.18 2022-11-01 19:20:23 +01:00
shan
40f45d7b7e Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 11:15:35 -07:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
fe34b7a339
Update lyon to 1.0 🎉
Congrats and thanks to @nical!
2022-07-11 15:53:33 +02:00
Héctor Ramón Jiménez
e6e3eff876
Bump versions 🎉 2022-07-01 04:03:24 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉 2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
0cddb3c1b5
Implement pure version of Canvas widget 2022-03-09 19:14:55 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Poly
8dc7a32964
Bump raw-window-handle 2022-01-04 16:15:45 +07:00
Héctor Ramón Jiménez
61dc9defad
Rely on latest release of lyon_tessellation 2021-09-01 13:35:52 +07:00
Héctor Ramón Jiménez
30ce60109e
Rely on new fast paths for basic shapes in lyon
See [1] for more details.

[1]: https://github.com/nical/lyon/pull/696
2021-08-30 13:24:30 +07:00
Héctor Ramón Jiménez
d0fe7b57ea
Update lyon to 0.17 in iced_graphics 2021-08-26 14:54:02 +07:00
Héctor Ramón Jiménez
0864e63bde Bump versions 🎉 2021-03-31 20:07:17 +02:00
Héctor Ramón Jiménez
d1c4239ac7 Disable default features of qrcode for iced_graphics 2021-01-21 05:07:41 +01:00
Héctor Ramón Jiménez
4bbfdef14b Update font-kit to 0.10 2020-12-19 01:24:46 +01:00
Héctor Ramón Jiménez
f78108a514 Bump versions 🎉 2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
29ad61d377 Add missing metadata to iced_graphics subcrate 2020-11-26 15:57:55 +01:00
Greg V
775c1c5873 Add license to iced-graphics' Cargo.toml 2020-11-25 23:02:50 +03:00
Héctor Ramón Jiménez
3296be845c Implement QRCode widget 2020-11-20 10:29:33 +01:00
Héctor Ramón Jiménez
1475b10dff Update font-kit dependency in iced_graphics 2020-11-10 20:33:45 +01:00
Héctor Ramón Jiménez
6f52eb4d3a Update lyon dependency in iced_graphics 2020-11-10 20:13:47 +01:00
Héctor Ramón Jiménez
fa98dbad16 Update glam dependency in iced_graphics 2020-11-10 20:12:15 +01:00