Héctor Ramón Jiménez
afb3b8fce6
Introduce draw_mesh_cache in mesh::Renderer
2025-11-29 17:33:01 +01:00
edwloef
42bc4af972
make Meshes cheaply cloneable by using Arc<[T]> in iced_graphics::mesh::Indexed
2025-11-29 15:25:56 +01:00
Héctor Ramón Jiménez
99748b89de
Implement AutoScrollIcon overlay for scrollable
2025-11-28 08:28:03 +01:00
Héctor
bbc02783b9
Merge pull request #2979 from DKolter/issue_2976
...
Fix Path::circle artifact
2025-11-27 04:38:15 +01:00
Karolis Ramanauskas
267d2e2382
Avoids artifacts when drawing small arcs by casting f32 to f64 then back.
2025-11-27 03:44:51 +01:00
Héctor
c99f4d08f0
Merge pull request #2958 from pml68/feat/fill-raw
...
Add `fill_raw` method and `Raw` associated type to text Renderer
2025-11-26 00:56:18 +01:00
Héctor Ramón Jiménez
a0b409ed7e
Replace Raw in core::text::Renderer with a new Renderer trait
2025-11-26 00:41:05 +01:00
Zero
3310dc79db
Fix text_editor syntax highlighting on paste
...
Fixes #2946 .
2025-11-26 00:07:15 +01:00
Héctor Ramón Jiménez
1b127c8de3
Name iced glyph in Iced-Icons.ttf
2025-11-25 21:27:29 +01:00
edwloef
1305d3c00f
add iced logo to Iced-Icons.ttf
2025-11-25 21:08:40 +01:00
Héctor
a81f0a2459
Merge pull request #2837 from dtzxporter/Expose-setting-to-toggle-vsync-on/off-
...
Expose setting to disable vsync if requested.
2025-11-21 01:48:21 +01:00
Héctor Ramón Jiménez
41d930bd00
Fix unused import in graphics::image
2025-11-15 05:00:23 +01:00
Héctor Ramón Jiménez
085c8fae8d
Add screenshot helpers to iced_test
2025-11-12 00:53:10 +01:00
Héctor Ramón Jiménez
b500cd85e7
Fix panic when mouse-scrolling a text_editor
2025-11-01 01:41:45 +01:00
Héctor Ramón Jiménez
439f4e32ac
Update cosmic-text to 0.15 🎉
2025-10-31 16:15:31 +01:00
Héctor Ramón Jiménez
9d4ef528d8
Remove Debug leftover in private Operation type
2025-10-29 13:48:00 +01:00
Héctor Ramón Jiménez
6ba6673e2a
Fix Exif handling in graphics::image
...
Fixes #3094 .
2025-10-29 13:42:22 +01:00
Héctor Ramón Jiménez
74c8641e2c
Fix missing feature flags in graphics::image
2025-10-28 21:31:15 +01:00
Héctor Ramón Jiménez
867fe819c0
Add explicit error handling to image loading
2025-10-28 21:19:25 +01:00
Héctor Ramón Jiménez
7c11ccb046
Move core::Image::clip_bounds to graphics::Image
2025-10-28 19:44:46 +01:00
Héctor Ramón Jiménez
cb8d2710da
Draft multi-threaded image rendering in iced_wgpu
2025-10-25 22:59:29 +02:00
Héctor Ramón Jiménez
a064241a6b
Replace doc_auto_cfg with doc_cfg
...
See https://github.com/rust-lang/rust/pull/138907
2025-10-08 04:37:13 +02:00
Héctor Ramón Jiménez
5796ba272e
Remove missing_debug_implementations lint
2025-09-12 05:25:09 +02:00
Héctor Ramón Jiménez
09c604c92d
Add theme and theme_changes functions to system
2025-09-08 14:32:24 +02:00
Héctor Ramón Jiménez
74b792b608
Use f32 for scale_factor
2025-09-02 23:29:22 +02:00
Héctor Ramón Jiménez
6df435adba
Use Default implementation of text::Shaping
2025-08-30 18:30:23 +02:00
Héctor Ramón Jiménez
bc7d64987e
Add Auto strategy to text::Shaping
2025-08-30 18:27:05 +02:00
Héctor Ramón Jiménez
9490d735c5
Avoid merging into empty layers in layer::Stack
2025-08-19 08:06:25 +02:00
Héctor Ramón Jiménez
806500048d
Merge layers from top to bottom in layer::Stack
2025-08-19 05:47:36 +02:00
Héctor Ramón Jiménez
fb5ac7dcb0
Perform layer::Stack::merge before rendering
2025-08-18 20:51:57 +02:00
Héctor Ramón Jiménez
f2aa570aac
Introduce draw_with_bounds to canvas::Cache
...
Also:
- Change `Rectangle::INFINITE` to have coordinates at `f32::NEG_INFINITY`
- Change `Frame::with_clip` to _not_ adjust the coordinate system
- Rename `Size::INFINITY` to `INFINITE`
2025-08-17 22:31:58 +02:00
Héctor Ramón Jiménez
c1f7345ceb
Reuse only the last layer after merging in layer::Stack
2025-08-17 10:05:45 +02:00
Héctor Ramón Jiménez
4d93837094
Merge only contiguous layers in layer::Stack
2025-08-17 09:31:46 +02:00
Héctor Ramón Jiménez
d2f36a0a58
Resize base layer in Stack before drawing
2025-08-17 00:58:37 +02:00
Héctor Ramón Jiménez
c639c185d3
Fix naive merging logic in layer::Stack
2025-08-17 00:04:45 +02:00
Héctor Ramón Jiménez
d3e9547079
Implement basic layer merging for graphics::layer::Stack
2025-08-16 23:20:43 +02:00
Héctor Ramón Jiménez
d5cd0a6de9
Fix lints for Rust 1.89 and bump MSRV to 1.88
2025-08-07 22:38:22 +02:00
Héctor Ramón Jiménez
35df95e988
Fix broken intra-doc link in graphics::text
2025-08-05 22:20:30 +02:00
DKolter
5a4dfe1809
Fix Path::circle artifact
2025-06-03 14:56:57 +02:00
DKolter
371d0784a8
fix: Text::visible_bounds applies duplicate alignment for tiny skia
2025-05-29 12:03:27 +02:00
dtzxporter
ad30dea69b
Copy vsync setting.
2025-05-04 14:26:49 -04:00
dtzxporter
5dcab9bf3a
Expose setting to disable vsync if requested.
...
- This improves rendering performance on windows 10x and doesn't result in noticeable tearing. The user can decide if they want it anyways.
2025-05-04 14:25:16 -04:00
Héctor Ramón Jiménez
6bf709e03e
Make anchoring explicit and improve reusability of text pipelines
2025-05-04 03:54:42 +02:00
Héctor Ramón Jiménez
acde7ea735
Implement Frame::stroke_text in canvas API
2025-05-01 03:00:31 +02:00
Héctor Ramón Jiménez
97b4ed0d84
Support max_width and text::Alignment for canvas::Text
2025-04-30 04:19:15 +02:00
Juniper
0b6e0667ae
Indent and Unindent Text Editor Actions
2025-04-24 17:20:19 -04:00
Héctor Ramón Jiménez
d1e936fb25
Re-align Paragraph on resize
...
Fixes #2888
2025-04-12 00:48:57 +02:00
Héctor Ramón Jiménez
c335b256a1
Fix Fira Sans not being used as default font on Wasm
2025-04-09 19:12:41 +02:00
Héctor Ramón Jiménez
6bf6fc60c9
Update cosmic-text to 0.14
2025-04-09 18:40:38 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon
2025-04-01 02:18:20 +02:00