Commit graph

45 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
caed50b277
Fix clippy::match-wildcard-for-single-variants 2023-09-20 05:03:25 +02:00
Héctor Ramón Jiménez
42ed90bc6f
Fix clippy::default_trait_access 2023-09-20 04:51:08 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Yuri Astrakhan
3d6b9637c3 Chore: Inline format args for ease of reading
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04: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
f60884f6f8
Deny broken_intradoc_links and verify documentation in CI 2023-09-09 20:58:45 +02:00
Matthias Vogelgesang
89d9f1d7d2 Fix majority of unresolved documentation links 2023-09-09 18:59:17 +02:00
Héctor Ramón
b5e7fb240c
Merge pull request #2070 from ripytide/master
Added a Frame::scale_nonuniform method
2023-09-07 06:03:41 +02:00
Héctor Ramón Jiménez
09965b686e
Make scale methods in Frame generic over f32 and Vector 2023-09-07 05:51:39 +02:00
ripytide
5371fae21a
added a Frame::scale_nonuniform method 2023-09-05 10:49:50 +01: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
bb49a22996
Enable WebGPU backend in wgpu by default instead of WebGL
Instead, we expose a new `webgl` feature.
2023-09-04 03:28:45 +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
fa5650cfd1
Decouple Mesh primitives from main Primitive type 2023-06-29 07:48:03 +02:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives 2023-06-29 07:18:20 +02:00
Héctor Ramón Jiménez
78ad365db2
Reuse entries in text::Cache in iced_wgpu 2023-06-28 00:35:37 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5bc7cbf5bc
Use subpixel glyph positioning and layout linearity
... for offsetting and scaling text
2023-06-20 06:50:36 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command. 2023-06-06 15:37:30 +02: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
Héctor Ramón Jiménez
de638f44a5
Write missing documentation in iced_wgpu 2023-05-11 15:37:56 +02:00
Héctor Ramón Jiménez
dd04c0b070
Bundle tiny-skia backend together with iced_renderer 2023-05-10 22:23:11 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets 2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean 2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy 2023-05-02 01:02:13 +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
e63cc181bd
Fix Candidate::build in compositor of iced_renderer 2023-04-26 16:28:47 +02:00
Héctor Ramón Jiménez
619ba9294d
Merge branch 'advanced-text' into incremental-rendering 2023-04-17 23:46:18 +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
c2249d2506
Fix copy-pasted panic description in iced_renderer 2023-04-08 06:45:44 +02:00
Héctor Ramón Jiménez
42b2e9b007
Support ICED_BACKEND environment variable 2023-04-08 06:44:46 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes 2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
9b4bcd287a
Introduce backend feature flags in iced_renderer 2023-03-06 22:10:13 +01:00
Héctor Ramón Jiménez
06bbcc310e
Move webgl feature selection for wgpu into iced_wgpu 2023-03-05 06:40:20 +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
d13d19ba35
Rename canvas::frame to canvas in iced_wgpu 2023-03-03 04:00:44 +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
3f6e28fa9b
Use iced_renderer instead of iced_graphics in root crate 2023-02-28 20:47:13 +01:00
Héctor Ramón Jiménez
4e615a65ca
Fix clippy lints 2023-02-27 01:12:06 +01:00
Héctor Ramón Jiménez
535d7a4d57
Implement basic presentation with softbuffer for iced_tiny_skia 2023-02-25 16:05:42 +01:00
Héctor Ramón Jiménez
8c373cd497
Scaffold iced_tiny_skia and connect it to iced_renderer 2023-02-25 15:38:25 +01:00
Héctor Ramón Jiménez
a01bc865a0
Trim measurements in renderer::Backend 2023-02-25 15:11:35 +01:00
Héctor Ramón Jiménez
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback 2023-02-24 23:24:48 +01:00