Thomas Gatzweiler
a50a56a29d
fix(tiny-skia): correct stroke bounds calculation
2025-11-26 23:22:59 +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
06f3472df5
Improve naming in layer modules
2025-11-26 00:45:07 +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
pml68
b26890f76e
feat: add fill_raw method and Raw associated type for text::Renderer
2025-11-26 00:34:51 +01:00
Günther Jena
8cae3fca48
Fix svg scaling in iced_tiny_skia
2025-11-26 00:23:19 +01:00
DKolter
9d811b46d7
Fix text clipping in tiny-skia
2025-11-25 22:45:12 +01:00
edwloef
1305d3c00f
add iced logo to Iced-Icons.ttf
2025-11-25 21:08:40 +01:00
Héctor Ramón Jiménez
5c7bf112c8
Enable dlopen features for softbuffer
2025-11-25 08:28:10 +01:00
TechnoPorg
0a75f399a8
Add x11 and wayland feature flags
2025-11-25 08:16:14 +01:00
Héctor Ramón Jiménez
1f972ec0af
Simplify Compositor::create_surface in iced_tiny_skia
2025-11-21 02:25:19 +01:00
Eleazar Díaz Delgado
50026c5e49
Fix error on chromium like browser when canvas initial size (0,0)
...
Co-authored-by: EleDiaz <elediaz@users.noreply.github.com>
2025-11-21 02:24:50 +01:00
Héctor Ramón Jiménez
951f3a5b2b
Fix unused variable in tiny_skia when image feature is disabled
2025-10-29 00:09:17 +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
1c055e26c0
Apply Transformation to Image::border_radius
2025-10-26 00:06:20 +02:00
Héctor Ramón Jiménez
23039e758e
Introduce explicit image::allocate API
2025-10-25 22:59:30 +02: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
a052ce58b0
Merge branch 'master' into feature/test-recorder
2025-09-11 04:57:17 +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
9e81c2b9e8
Merge branch 'master' into feature/test-recorder
2025-08-29 04:25:52 +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
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
d2f36a0a58
Resize base layer in Stack before drawing
2025-08-17 00:58:37 +02:00
Héctor Ramón Jiménez
46167c78c7
Return 0 in Layer::start for empty layers
2025-08-17 00:07:58 +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
327522eb99
Draft test recorder structure in iced_devtools
2025-05-30 03:06:57 +02: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
Héctor Ramón Jiménez
ef16ea3b2a
Tweak and organize devtools crate
2025-04-28 22:41:09 +02:00
Héctor Ramón Jiménez
015f5283a8
Introduce presentation metrics and send them to comet
2025-04-09 21:50:21 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon
2025-04-01 02:18:20 +02:00
Héctor Ramón Jiménez
ced4276a5e
Replace Rc with Arc in tiny_skia renderer
2025-03-29 21:24:48 +01:00
Héctor Ramón Jiménez
5e5c7c85ad
Append renderer name to iced_test snapshots
2025-03-24 20:22:17 +01:00
Héctor Ramón Jiménez
576dd22733
Split local state from Engine in iced_wgpu
2025-03-24 20:22:15 +01:00
Héctor Ramón Jiménez
31b98ee3eb
Notify window before presentation
2025-03-18 18:29:19 +01:00
Héctor Ramón Jiménez
ebfcb65841
Merge branch 'master' into beacon
2025-03-11 22:25:06 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support
2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
179a34d37b
Fix horizontal text alignment
2025-03-11 00:43:51 +01:00
Héctor Ramón Jiménez
8bd5de72ea
Merge branch 'master' into beacon
2025-03-04 19:11:37 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt
2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
2cf4abf25b
Support custom renderers in iced_test through renderer::Headless trait
2024-12-14 03:49:24 +01:00
Ian Douglas Scott
3fc57b7d95
Remove surface argument of Compositor::screenshot
...
This argument was completely ignored by the wgpu renderer, and used only
for the `clip_mask` by the `tiny_skia` renderer. I believe creating a
new clip mask is correct.
This way it's possible to render offscreen without needing a surface.
2024-11-21 16:26:17 -08:00
Gabriel Vogel
26b09e1b4d
Include images and saved meshes when pasting Frame
...
`tiny_skia::Frame` was ignoring images in `Frame::paste`, making images
not show up when created in a `with_clip` context.
`wgpu::Frame` similarly did not pass through meshes in its paste method,
that may have been saved from a nested `with_clip` call.
2024-09-24 22:29:03 +02:00
Jovansonlee Cesar
0c502801e3
Make rendering of svg that has text work out of the box ( #2560 )
...
* fix: load system fonts to usvg font_db, this will make rendering of text in svg that has it
* feat: add an example that renders svg that has text on it
* Initialize `fontdb` only once for `vector` images
* Remove `svg_text` example
* Set `fontdb` for `usvg::Options` in `tiny_skia::vector`
---------
Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
2024-09-13 21:43:00 +00:00