Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉
2023-07-28 19:48:39 +02:00
Héctor Ramón Jiménez
d666e739cd
Trim text measurements only before layout
2023-06-29 18:23:11 +02:00
Héctor Ramón Jiménez
cdce03cf7f
Revert "Remove layout method from core::Renderer trait"
...
This reverts commit 2128472c2a .
2023-06-29 18:17:18 +02:00
Héctor Ramón Jiménez
6921564c9f
Write missing docs in iced_graphics and iced_wgpu
2023-06-29 07:55:52 +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
2128472c2a
Remove layout method from core::Renderer trait
2023-06-29 07:18:24 +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
c7332c1522
Merge pull request #1885 from bungoboingo/gradient-packing-optimization
...
Small gradient optimization
2023-06-27 22:10:17 +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
677f564f08
Switched to packing using f16s to maintain acceptable precision.
2023-06-07 11:18:26 -07:00
Bingus
9554c78f3a
Updated color packing into u32 to consider incorrect web-colors.
2023-06-06 17:24:26 -07:00
Bingus
ea7f2626b1
Optimized gradient data packing.
2023-06-06 16:46:20 -07: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
8ca7b884c0
Make Packed fully opaque
...
... by only allowing direct conversion from our `Gradient` types
2023-05-29 20:56:51 +02:00
Bingus
902e333148
Changed gradient::Packed to be repr(C) for direct gpu upload.
2023-05-26 10:13:18 -07:00
Bingus
413526ad09
Created "Packed" data structure for gradient data.
2023-05-25 10:49:26 -07:00
Bingus
a395e78596
Made gradient pack public for iced_graphics::gradient mod for use with GradientVertex2D.
2023-05-24 13:08:59 -07:00
Benoît du Garreau
dee8ede5be
Update glam to 0.24
2023-05-22 17:23:42 +02:00
Héctor Ramón
cc5d11f1a6
Merge pull request #1846 from bungoboingo/feat/background-gradients
...
[Feature] Gradients for Backgrounds
2023-05-19 04:37:58 +02:00
Héctor Ramón Jiménez
3d44de9547
Fix imports of geometry::style in iced_graphics
2023-05-19 03:49:42 +02:00
Héctor Ramón Jiménez
4c1a082f04
Remove Builder abstractions for gradients
2023-05-19 03:32:21 +02:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations.
2023-05-11 11:13:44 -07:00
Héctor Ramón Jiménez
cf434236e7
Enable doc_auto_cfg when generating documentation
2023-05-11 17:28:51 +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
8622e998f2
Write missing documentation in iced_graphics
2023-05-11 15:25:58 +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
38f82ab35f
Expand damage regions of Clip primitives a bit
2023-04-27 15:25:59 +02:00
Héctor Ramón Jiménez
af0303f95e
Move damage tracking logic to compositor in iced_tiny_skia
2023-04-27 15:10:41 +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
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
c79cc2d2b3
Bump versions 🎉
2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
ba07abe5c8
Expand bounds of Text primitives a bit further
2023-04-08 07:08:03 +02:00
Héctor Ramón Jiménez
f8cd1faa28
Group damage regions by area increase
2023-04-05 05:40:44 +02:00
Héctor Ramón Jiménez
6270c33ed9
Keep playing with incremental rendering (still very slow)
2023-04-04 20:47:53 +02:00
Héctor Ramón Jiménez
0f7abffc0e
Draft (very) basic incremental rendering for iced_tiny_skia
2023-04-04 02:08:02 +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
d1dc62ebcd
Merge branch 'master' into advanced-text
2023-03-17 20:17:23 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68
2023-03-14 11:11:17 +01: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
d13d19ba35
Rename canvas::frame to canvas in iced_wgpu
2023-03-03 04:00:44 +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