summaryrefslogtreecommitdiffstats
path: root/native/src/widget/image.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-204/+0
|
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-5/+5
|
* Refactor image draw to standalone functionLibravatar Cory Forsstrom2023-01-281-28/+40
|
* 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`.
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-0/+7
|
* Remove unused code warningsLibravatar Héctor Ramón Jiménez2022-06-071-1/+1
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-0/+1
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Merge branch 'master' into virtual-widgetsLibravatar Héctor Ramón Jiménez2022-03-071-41/+78
|\
| * Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez2022-02-231-12/+1
| |
| * Hash `content_fit` in `hash_layout` of `Image` and `Svg`Libravatar Héctor Ramón Jiménez2022-02-161-0/+1
| |
| * Remove redundant `layout.bounds()` calls in `Image` and `Svg`Libravatar Héctor Ramón Jiménez2022-02-161-6/+5
| |
| * Add `ContentFit` support to `Svg` widgetLibravatar Héctor Ramón Jiménez2022-02-161-1/+0
| |
| * Center `Image` inside available bounds when possibleLibravatar Héctor Ramón Jiménez2022-02-161-9/+14
| |
| * Rename `Image::fit` to `content_fit`Libravatar Héctor Ramón Jiménez2022-02-161-6/+10
| | | | | | | | ... just for consistency!
| * Make documentation of `Image::fit` consistentLibravatar Héctor Ramón Jiménez2022-02-161-1/+1
| |
| * Use a new clipping layer only when necessary in `Image::draw`Libravatar Héctor Ramón Jiménez2022-02-161-2/+11
| |
| * Add support for `ContentFit` for `Image`Libravatar Emi Simpson2022-02-161-16/+50
| |
* | Implement `Image` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-131-24/+49
|/
* Change GitHub namespace to new org for all filesLibravatar LordRatte2022-01-031-1/+1
|
* Decouple the image Handle type from the iced_native implementationLibravatar Olivier Pinon2021-12-101-9/+13
|
* Introduce first-class `image` module in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-127/+4
|
* Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-1/+1
|
* Implement `Widget::draw` for `image::Viewer`Libravatar Héctor Ramón Jiménez2021-10-281-2/+2
|
* Implement `Widget::draw` for `Image`Libravatar Héctor Ramón Jiménez2021-10-251-1/+4
|
* Move `Defaults` from `iced_graphics` to `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-1/+2
|
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-5/+2
|
* Merge remote-tracking branch 'tarkah/image-pane' into image-paneLibravatar Héctor Ramón Jiménez2020-12-181-0/+3
|\
| * remove re-export on viewer::StateLibravatar Cory Forsstrom2020-05-271-1/+1
| |
| * rename to image::ViewerLibravatar Cory Forsstrom2020-05-261-0/+3
| |
* | Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-26/+1
| | | | | | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* | Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-281-1/+3
|/ | | | | This should eventually allow us to only generate primitives that are visible.
* document that img handle constructors guess fmtLibravatar Ethan Pailes2020-04-261-0/+4
| | | | | | | | | | | | | This patch documents the fact that a couple of the image handle constructors know how to guess the image format based on the data that they are provided. I had to dig through `iced` sources until I discovered that those routines ultimately boil down to stuff like [image::load_from_memory][1] from the `image` crate, so I thought I would save others the trouble of doing the same reverse-engineering [1]: https://docs.rs/image/0.23.4/image/fn.load_from_memory.html
* #288 Renamed XXXWidget to MarkerLibravatar Olivier Pinon2020-04-121-1/+2
|
* Genericize `From` implementation for `image::Handle`Libravatar Héctor Ramón Jiménez2020-03-311-9/+6
|
* Hash type ids in `Widget::hash_layout` implsLibravatar Héctor Ramón Jiménez2020-03-301-0/+2
|
* Remove excess whitespace from end of line to comply with `cargo fmt`.Libravatar Mark Friedenbach2020-03-201-1/+1
|
* Note BGRA requirement in Handle::from_pixels docsLibravatar Soham Chowdhury2020-03-011-1/+3
|
* Add support for loading already-decoded image pixelsLibravatar Soham Chowdhury2020-02-291-0/+26
|
* Implemented a texture atlas for images and svgs.Libravatar Malte Veerman2020-02-251-1/+1
|
* Add `Handle` and `Data` to `image` in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-051-1/+0
|
* Add `Renderer::Defaults` and style inheritanceLibravatar Héctor Ramón Jiménez2019-12-301-0/+1
|
* Update `Image::hash_layout` to hash new `Handle`Libravatar Héctor Ramón Jiménez2019-12-041-1/+7
|
* Merge branch 'master' into feature/image-from-bytesLibravatar Héctor Ramón Jiménez2019-12-041-0/+1
|\
| * Added path to image hash so it updates when path changesLibravatar Nicholas Pienta2019-12-011-0/+1
| |
* | Rename `image::Handle::from_bytes` to `from_memory`Libravatar Héctor Ramón Jiménez2019-12-041-1/+4
| | | | | | | | | | Also, replace `image` example with a new `pokedex` example using the PokéAPI.
* | Fix typo in `image::Handle` docsLibravatar Héctor Ramón Jiménez2019-11-301-1/+1
| |
* | Implement `image` viewer exampleLibravatar Héctor Ramón Jiménez2019-11-301-16/+23
| |
* | Allow to load an image from memoryLibravatar Héctor Ramón Jiménez2019-11-291-8/+85
|/ | | | | New `image::Handle` opaque type uniquely identifying some `image::Data`, allowing reliable caching.
* Fix `iced_native` widget examplesLibravatar Héctor Ramón Jiménez2019-11-241-11/+8
|
* Write docs for `iced` and `iced_native`Libravatar Héctor Ramón Jiménez2019-11-221-0/+3
|