summaryrefslogtreecommitdiffstats
path: root/native/src/svg.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-89/+0
|
* Fix: Clippy lint 'uninlined_format_args'Libravatar 13r0ck2023-01-271-1/+1
|
* Remove `appearance` from `Handle`Libravatar Héctor Ramón Jiménez2022-12-061-17/+3
| | | | ... and pass it directly to `Renderer::draw` instead.
* feat: SVG styling with icon fill colorLibravatar Michael Aaron Murphy2022-12-061-0/+14
|
* Refactor some `image` traits a bitLibravatar Héctor Ramón Jiménez2022-11-051-2/+2
| | | | | | | - Use `Size<u32>` were applicable. - Rename `TextureStore` to `image::Storage`. - Rename `TextureStoreEntry` to `image::storage::Entry`. - Wire up `viewport_dimensions` to `iced_glow` for `Svg`.
* Unify methods by leveraging `Into<Cow>` in `image` and `svg`Libravatar Héctor Ramón Jiménez2022-11-051-9/+2
|
* Use `Cow<'static, [u8]>` in image/svg, add constructors taking &[u8]`Libravatar Ian Douglas Scott2022-10-031-2/+10
| | | | | | | | | | | | | This should resolve https://github.com/iced-rs/iced/issues/580 by providing a way to use an image included with `include_bytes!` without needing to copy it to a `Vec` to create an image handle. It would be nice if these methods could also be `const`, but that isn't possible due to the hashing being done. This is technically a breaking change since `Handle::data()` is public. But if that is used, it's most likely in used somewhere that only relies on the type derefing to `&[u8]`.
* Fix broken intra-doc links in documentationLibravatar Héctor Ramón Jiménez2022-04-301-2/+2
|
* Write documentation for `iced_native::svg`Libravatar Héctor Ramón Jiménez2021-11-041-6/+4
|
* Introduce first-class `svg` module in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-0/+90