Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-02-21 | Run `cargo fmt` | 4 | -4/+4 | ||
2024-12-14 | Support custom renderers in `iced_test` through `renderer::Headless` trait | 1 | -1/+24 | ||
2024-11-21 | Remove `surface` argument of `Compositor::screenshot` | 1 | -4/+5 | ||
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-09-24 | Include images and saved meshes when pasting `Frame` | 1 | -0/+1 | ||
`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-13 | Make rendering of svg that has text work out of the box (#2560) | 1 | -10/+21 | ||
* 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-10 | Leverage `stroke` for `stroke_rectangle` in `tiny-skia` backend | 1 | -17/+1 | ||
2024-09-10 | Add stroke_rectangle | 1 | -0/+25 | ||
This method should be able to leverage performance improvements in lyon's `tessellate_rectangle` over `tessellate_path`. | |||||
2024-08-04 | Introduce `Svg` struct in `core::svg` | 4 | -76/+23 | ||
2024-08-04 | Simplify types in `tiny_skia::layer` | 1 | -16/+12 | ||
2024-08-04 | Introduce `Image` struct in `core::image` | 4 | -93/+38 | ||
2024-08-04 | Implement image support for `canvas` widget | 5 | -5/+138 | ||
2024-08-03 | Render text on top of images by default | 1 | -10/+10 | ||
2024-07-17 | Update `cosmic-text` and `resvg` (#2416) | 3 | -26/+26 | ||
* Update `cosmic-text`, `glyphon`, and `resvg` * Fix slow font fallback with `Shaping::Basic` in `cosmic-text` * Update `cosmic-text` and `resvg` * Update `cosmic-text` * Fix `SelectAll` action in `editor` * Fix some panics in `graphics::text::editor` * Remove empty `if` statement in `tiny_skia::vector` * Update `cosmic-text`, `glyphon`, and `rustc-hash` | |||||
2024-05-03 | Introduce dynamic `opacity` support for `Image` and `Svg` | 5 | -2/+26 | ||
2024-05-03 | Introduce `center` widget helper | 2 | -19/+19 | ||
... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result. | |||||
2024-05-02 | Remove commented code in `tiny_skia::layer` | 1 | -16/+0 | ||
2024-05-02 | Simplify image rotation API and its internals | 3 | -26/+21 | ||
2024-05-02 | Add `Image` rotation support | 4 | -23/+79 | ||
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com> | |||||
2024-05-01 | Use an opaque `Id` type for `image::Handle` | 1 | -2/+2 | ||
Hashing pointers is a terrible idea. | |||||
2024-05-01 | Use `Bytes` as the `Container` of `ImageBuffer` | 1 | -1/+1 | ||
Since we don't need to mutate images once loaded, we avoid unnecessary extra allocations. | |||||
2024-04-30 | Introduce `canvas::Cache` grouping | 1 | -2/+3 | ||
Caches with the same `Group` will share their text atlas! | |||||
2024-04-10 | Clip quad damage with layer bounds in `iced_tiny_skia` | 1 | -1/+11 | ||
2024-04-10 | Sort damage by distance from origin in `iced_graphics::damage` | 1 | -10/+8 | ||
2024-04-10 | Track image damage in `iced_tiny_skia` | 1 | -0/+8 | ||
2024-04-10 | Account for `transformation` in `Text::visible_bounds` | 1 | -3/+1 | ||
2024-04-10 | Reintroduce damage tracking for `iced_tiny_skia` | 6 | -92/+191 | ||
2024-04-09 | Port `iced_tiny_skia` to new layering architecture | 9 | -1187/+1584 | ||
2024-04-07 | Use built-in `[lints]` table in `Cargo.toml` | 8 | -4/+23 | ||
2024-04-05 | Decouple caching from layering and simplify everything | 1 | -2/+2 | ||
2024-03-30 | Replace `xxhash-rust` with `rustc-hash` | 1 | -1/+0 | ||
2024-03-26 | Make tiny-skia equivalent | 1 | -1/+2 | ||
2024-03-24 | Reintroduce backend selection through `ICED_BACKEND` env var | 1 | -5/+16 | ||
2024-03-22 | Rename `compositor::Renderer` to `Default` | 1 | -2/+2 | ||
2024-03-22 | Allow custom renderers in `Program` and `Application` | 2 | -4/+13 | ||
2024-03-22 | Fix standalone compilation of `iced_widget` crate | 1 | -1/+0 | ||
2024-03-22 | Make `iced_tiny_skia` optional with a `tiny-skia` feature | 1 | -0/+3 | ||
2024-03-22 | Restore `canvas::Frame` API | 1 | -5/+3 | ||
2024-03-21 | Implement composable, type-safe renderer fallback | 3 | -24/+55 | ||
2024-03-16 | Show name of current `Theme` in `clock` example | 1 | -5/+7 | ||
2024-03-07 | Fix `block_on` in `iced_wgpu` hanging Wasm builds | 1 | -2/+3 | ||
2024-02-22 | Fix `iced_tiny_skia` clipping line strokes | 1 | -2/+2 | ||
2024-02-15 | Fix text transparency in `iced_tiny_skia` | 1 | -1/+10 | ||
2024-02-11 | Fix clipping of text in `iced_tiny_skia` | 1 | -38/+50 | ||
2024-02-07 | tiny_skia: Add a capacity limit to `GlyphCache` | 1 | -1/+7 | ||
* Trim the cache if `recently_used` size reaches the limit, even if a trim interval hasn't passed. * Shrink `entries` and `recently_used` to the limit when trimming. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com> | |||||
2024-02-02 | Introduce `with_transformation` to `Renderer` trait | 3 | -16/+39 | ||
2024-02-02 | Allow only uniform scaling in `Transformation` | 1 | -4/+4 | ||
2024-02-02 | Replace `Primitive::Translate` with `Transform` | 2 | -49/+48 | ||
2024-01-31 | Assert dimensions of quads are normal in `iced_tiny_skia` | 1 | -0/+9 | ||
2024-01-21 | Convert `Renderer::Theme` to generic `Widget` type | 2 | -13/+7 | ||
2024-01-20 | Introduce `Border` struct analogous to `Shadow` | 1 | -91/+76 | ||