Héctor Ramón Jiménez
b152ecda63
Separate Compositor::new from Compositor::create_renderer
2023-12-02 20:49:47 +01:00
Héctor Ramón Jiménez
b526ce4958
Rename viewport to clip_bounds
2023-12-02 15:56:28 +01:00
Héctor Ramón Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds
2023-12-01 16:04:27 +01:00
Héctor Ramón Jiménez
8c4e7d80a1
Fix renderer method in iced_renderer::Compositor
2023-11-29 22:47:46 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support
2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
9489e29e66
Re-organize custom module as pipeline module
...
... and move `Shader` widget to `iced_widget` crate
2023-11-14 12:49:49 +01:00
Héctor Ramón Jiménez
2dda9132cd
Run cargo fmt
2023-11-14 11:52:34 +01:00
Héctor Ramón Jiménez
226eac35c3
Remove old widget modules in iced_renderer
2023-11-14 11:51:04 +01:00
Héctor Ramón Jiménez
33f6262944
Fix clippy lints 🦀
2023-11-14 11:43:38 +01:00
Bingus
65f4ff060a
Added redraw request handling to widget events.
2023-11-14 11:31:44 +01:00
Bingus
91fca024b6
Reexport Transformation from widget::shader
2023-11-14 11:31:44 +01:00
Bingus
781ef1f94c
Added support for custom shader widget for iced_wgpu backend.
2023-11-14 11:31:44 +01:00
Héctor Ramón Jiménez
9d5ff12063
Fix conditional compilation in iced_renderer
2023-11-12 03:22:43 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
...
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Héctor Ramón Jiménez
6582387579
Merge branch 'master' into text-editor
2023-10-27 03:58:45 +02:00
Héctor Ramón Jiménez
f137d71e8f
Centralize clippy lints in .cargo/config.toml
2023-09-20 16:40:03 +02:00
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
c829b4b04e
Fix unused import in iced_renderer
2023-09-13 17:55:33 +02:00
Héctor Ramón Jiménez
6448429103
Draft Editor API and TextEditor widget
2023-09-12 14:51:00 +02:00
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
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
Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07: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