Commit graph

20 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
d4b08462e5
Introduce Svg struct in core::svg 2024-08-04 04:52:55 +02:00
Héctor Ramón Jiménez
92bd3ecd6b
Introduce Image struct in core::image 2024-08-04 04:30:12 +02:00
Héctor Ramón Jiménez
e84070acef
Implement From<&Handle> for image::Handle 2024-08-03 16:20:12 +02:00
Héctor Ramón Jiménez
fa9e1d96ea
Introduce dynamic opacity support for Image and Svg 2024-05-03 13:25:58 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals 2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
09a6bcfffc
Add Image rotation support
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-05-02 17:27:45 +02:00
Héctor Ramón Jiménez
01b014c19f
Fix documentation link in image::Handle 2024-05-01 01:53:25 +02:00
Héctor Ramón Jiménez
58ea914ad2
Make image::Id actually opaque 2024-05-01 01:52:49 +02:00
Héctor Ramón Jiménez
b52c7bb610
Use an opaque Id type for image::Handle
Hashing pointers is a terrible idea.
2024-05-01 01:39:43 +02:00
Héctor Ramón Jiménez
45254ab88c
Use Bytes as the Container of ImageBuffer
Since we don't need to mutate images once loaded,
we avoid unnecessary extra allocations.
2024-05-01 00:55:49 +02:00
Bajix
8d27af24a7
Utilize bytes::Bytes for images 2024-05-01 00:28:55 +02:00
Héctor Ramón Jiménez
f5bcfec821
Use rustc-hash for most of our HashMap and HashSet instances 2024-04-01 12:00:15 +02:00
Héctor Ramón Jiménez
188db4da48
Draft support for dynamic custom renderer injection 2024-03-21 05:52:48 +01:00
DoomDuck
d838d8e3ad
image::Bytes::PartialEq: use core::ptr::eq to speed up comparison 2024-02-07 20:32:15 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Remmirad
4b32a48880
Fix clippy + fmt 2023-11-11 07:21:51 +01:00
Remmirad
5759096a4c
Implement texture filtering options 2023-11-11 07:21:51 +01:00
Héctor Ramón Jiménez
4cae262d22
Implement PartialEq and Eq for image::Bytes 2023-04-05 05:47:29 +02:00
Héctor Ramón Jiménez
0f7abffc0e
Draft (very) basic incremental rendering for iced_tiny_skia 2023-04-04 02:08:02 +02:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Renamed from native/src/image.rs (Browse further)