Héctor Ramón Jiménez
bbafeed13d
Fix outdated warning in docs of Frame::fill_text
2024-03-22 01:55:28 +01:00
Héctor Ramón Jiménez
85800c99ab
Fix broken links in documentation
2024-03-22 01:53:48 +01:00
Héctor Ramón Jiménez
53a183fe0d
Restore canvas::Frame API
2024-03-22 01:35:14 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback
2024-03-21 22:27:17 +01:00
Héctor Ramón Jiménez
188db4da48
Draft support for dynamic custom renderer injection
2024-03-21 05:52:48 +01:00
rustrover
500ba962d1
fix some comments
...
Signed-off-by: rustrover <seekseat@126.com>
2024-03-09 15:26:37 +08:00
Héctor Ramón Jiménez
ecf42b97df
Fix block_on in iced_wgpu hanging Wasm builds
2024-03-07 23:25:24 +01:00
Héctor Ramón Jiménez
35e2049ee6
Embed Fira Sans font on Wasm builds by default
2024-02-20 03:20:58 +01:00
Héctor Ramón Jiménez
c6cf2bc521
Fix clipping of text in iced_tiny_skia
2024-02-11 04:03:01 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor
2024-02-07 21:48:28 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait
2024-02-02 02:24:45 +01:00
Héctor Ramón Jiménez
a6e91d13d5
Allow only uniform scaling in Transformation
2024-02-02 01:57:03 +01:00
Héctor Ramón Jiménez
5467c19c80
Replace Primitive::Translate with Transform
2024-02-02 01:53:23 +01:00
kxie
c077e107f2
Use Radians in arc and ellipse types
2024-01-31 19:21:10 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type
2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow
2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
b7b457a575
Make shadow optional in renderer::Quad
2024-01-20 12:11:18 +01:00
Nick Senger
cc906c83cd
feat: quad shadows
2024-01-20 11:59:37 +01:00
Héctor Ramón Jiménez
5fc49edc55
Make compatible_window mandatory in Compositor
2024-01-18 10:06:30 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
...
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Ian Douglas Scott
7289b6091b
WIP raw-window-handle 0.6
2024-01-16 21:34:38 -08:00
Héctor Ramón Jiménez
4cb53a6e22
Implement vectorial text support for iced_tiny_skia
2024-01-17 14:49:14 +01:00
Héctor Ramón Jiménez
d948ca6f09
Update glyphon to 0.4
...
`Color` is now always in the sRGB color space.
2024-01-15 23:49:20 +01:00
Héctor Ramón
a5ae442819
Merge pull request #2158 from iced-rs/feature/raw-text-primitive
...
Introduce `RawText` to `Primitive` in `iced_graphics`
2024-01-12 06:45:40 +01:00
Héctor Ramón Jiménez
3d88ceb482
Avoid division by zero in grapheme_position
2024-01-11 08:32:30 +01:00
Héctor Ramón Jiménez
9c50a7ed7e
Fix grapheme_position when ligatures are present
2024-01-11 08:29:44 +01:00
Héctor Ramón Jiménez
603832e66c
Introduce RawText to Primitive in iced_graphics
...
This should allow users to directly render a
`cosmic_text::Buffer`.
2023-12-05 02:19:17 +01:00
Héctor Ramón
fc285d3e46
Merge pull request #1964 from bungoboingo/feat/multi-window-support
...
[Feature] 🪟 Multi Window 🪟 .. redux!
2023-12-05 01:03:09 +01:00
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
99899d49cc
Clamp text::measure to Buffer::size
2023-12-01 15:04:08 +01:00
Héctor Ramón Jiménez
6740c2c5d6
Fix broken intra-doc links
2023-11-29 22:46:47 +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
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
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
dtzxporter
98e088e731
Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance.
...
xxhash-rust is more maintained, built against `::core`, so no workaround for wasm is necessary. Switch to Xxh3 for better performance, which shows when loading/hashing image buffers.
2023-11-11 03:40:22 +01:00
Héctor Ramón Jiménez
57f9024e89
Fix intra-doc broken links
2023-10-27 05:19:35 +02:00
Héctor Ramón Jiménez
625cd745f3
Write documentation for the new text APIs
2023-10-27 05:04:14 +02: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
34f07b6027
Fix clippy::semicolon_if_nothing_returned
2023-09-20 04:11:52 +02:00
Héctor Ramón Jiménez
be340a8cd8
Fix gamma correction for colored glyphs in iced_wgpu
2023-09-19 23:00:20 +02:00
Héctor Ramón
e8b01eb543
Merge pull request #2092 from nyurik/clippy
...
Chore: Apply some minor clippy fixes
2023-09-19 13:30:51 +02:00
Yuri Astrakhan
efd0ff6ded
Chore: Apply some minor clippy fixes
...
* Use `.elapsed()` for duration
* Use direct iteration without calling `.iter()` and the like
* order fields in the `Text` struct creation as declared
2023-09-19 01:52:25 -04:00
Yuri Astrakhan
c6554d9907
Chore: Apply clippy docs keyword quoting
...
Add quotes a number of doc strings like `sRGB`
2023-09-19 01:50:05 -04:00
Héctor Ramón Jiménez
4e757a26d0
Implement Scroll action in text::editor
2023-09-19 01:18:06 +02:00
Héctor Ramón Jiménez
e7326f0af6
Flesh out the editor example a bit more
2023-09-18 19:07:41 +02:00
Héctor Ramón Jiménez
61ef8f3249
Update version properly when FontSystem changes in text::editor
2023-09-18 13:58:55 +02:00
Héctor Ramón Jiménez
b5466f41ca
Fix inconsistent expect messages in text::editor
2023-09-18 13:58:39 +02:00