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
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
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
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback
2023-02-24 23:24:48 +01:00
Héctor Ramón Jiménez
238154af4a
Implement font::load command in iced_native
2023-02-24 13:29:11 +01:00
Héctor Ramón Jiménez
b29de28d1f
Overhaul Font type to allow font family selection
2023-02-24 13:28:24 +01:00
Héctor Ramón Jiménez
baf51a8fcf
Draft glyphon implementation of text pipeline for iced_wgpu
2023-02-24 13:19:48 +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
3320ac1126
Use f32 for Padding
2023-02-17 16:09:49 +01:00
Héctor Ramón Jiménez
570600ce51
Use Pixels for Text::size
2023-02-17 15:47:51 +01:00
Héctor Ramón Jiménez
7b8b01f560
Use f32 in Length::Units and rename it to Fixed
2023-02-17 15:40:17 +01:00
sushigiri
c7d8467c46
Accept FnOnce instead of Fn in canvas cache draw
...
Use FnOnce in `draw` function signature instead of `Fn`, permitting the
use of iterators and other one-time functions.
2023-02-06 09:05:07 -07:00
13r0ck
e6092e81a4
Fix: Clippy lint 'needless_lifetimes'
2023-01-27 13:50:52 -07:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉
2023-01-14 01:10:28 +01:00