Héctor Ramón Jiménez
e51d7c723c
Remove Mul<Vector> and Div implementations for Rectangle
2025-11-20 02:07:14 +01:00
Andy Terra
6f9b7a9005
Implement division operation for Rectangle, Size and Vector
2025-11-20 02:01:37 +01:00
Héctor Ramón Jiménez
5b029ae61c
Improve consistency of Padding API
2025-11-18 21:33:13 +01: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
89f480bdae
Merge pull request #2768 from edwloef/fix_rectangle_snap
...
fix rectangle snapping
2025-06-04 12:22:51 +02:00
Héctor Ramón Jiménez
08a37406f2
Replace generic into call with Vector::from
2025-06-04 12:14:31 +02:00
edwloef
6f935f3449
fix underflow when calculating new bounds
2025-05-30 00:02:56 +02:00
edwloef
c1ab626307
fix rectangle snapping
2025-05-30 00:02:56 +02:00
DKolter
d4a692d147
fix: Rectangle::is_within inconsistency
2025-05-29 13:26:38 +02:00
Héctor Ramón Jiménez
9d4e849a0e
Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
...
This reverts commit 03326b955b , reversing
changes made to 7c5a4bc465 .
2025-05-28 22:51:10 +02:00
Héctor Ramón Jiménez
15aa94c0f1
Try to align quad and image primitives in iced_wgpu
2025-05-26 23:59:15 +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
61b96caf21
Reduce nesting in Rectangle::offset
2025-04-26 04:50:59 +02:00
Héctor Ramón Jiménez
a2a7c18c9d
Implement Image::translate for positioning floating images
2025-04-25 13:31:49 +02:00
Héctor Ramón Jiménez
e90ff41edb
Implement pop widget 🎉
2025-01-26 04:29:57 +01:00
Héctor Ramón
6d6f354b42
Merge pull request #2536 from meithecatte/editor-clipping
...
text_editor: Avoid rendering text outside the border
2024-08-12 03:07:36 +02:00
Héctor Ramón Jiménez
03472dfd4f
Make Padding affect text_editor clipping
2024-08-12 02:53:23 +02:00
Héctor Ramón Jiménez
0ceee1cf3a
Implement image support for canvas widget
2024-08-04 03:28:43 +02:00
Héctor Ramón Jiménez
eac5bcb64f
Fix Image::bounds when rotation present in iced_graphics
2024-05-03 07:04:57 +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
d922b47815
Reintroduce support for custom primitives in iced_wgpu
2024-04-08 15:04:35 +02:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything
2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture
2024-04-03 21:07:54 +02:00
Andrew Wheeler(Genusis)
f5b9562900
Bounds Contains update. ( #2017 )
...
* changed the way contains works to exclude <= for point.y and point.x on width and height check to avoid multiple selects
* update changelog
* Update `CHANGELOG`
---------
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2023-08-15 07:47:53 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container
2023-07-27 01:04:18 +02:00
Héctor Ramón Jiménez
f8cd1faa28
Group damage regions by area increase
2023-04-05 05:40:44 +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
6bb01b7276
Fix clippy lints for Rust 1.66
2022-12-20 11:31:25 +01:00
Héctor Ramón
5224cc7f26
Floor width and height in Rectangle::floor
2021-06-09 21:30:20 +07:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
94af348846
Rename Rectangle::round to snap
...
Also use `ceil` instead of `round`.
Closes #380 .
2020-06-02 04:38:55 +02:00
Héctor Ramón Jiménez
a1a5fcfd46
Refactor Viewport and Compositor
2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
afa0bca4fd
Implement Rectangle::position
2020-04-29 08:25:27 +02:00
Héctor Ramón Jiménez
475a2779a7
Implement Rectangle::with_size
2020-04-29 03:23:08 +02:00
Héctor Ramón Jiménez
2539042b71
Remove Drawable and rename State to Program
2020-04-28 06:24:12 +02:00
Héctor Ramón Jiménez
69c60d372c
Implement std::ops::Add<Vector> for Rectangle
2020-04-28 04:40:23 +02:00
Héctor Ramón Jiménez
5d5e60a5cc
Implement Rectangle::new
2020-04-28 04:39:59 +02:00
Héctor Ramón Jiménez
0b5028b1ab
Draft Program interactivity for Canvas
2020-04-19 14:39:30 +02:00
Héctor Ramón Jiménez
b549b509c9
Align text in iced_wgpu on a case-by-case basis
2020-04-10 01:39:36 +02:00
Héctor Ramón Jiménez
126133ead7
Fix Clip primitive intersection in iced_wgpu
2020-02-22 18:25:43 +01:00
Héctor Ramón Jiménez
0240c3981b
Draft custom layout engine based on druid
2019-11-11 03:08:00 +01:00
Héctor Ramón Jiménez
db716b3bdf
Apply HiDPI to text, images, and clip primitives
...
Quads are a bit trickier to handle. We may need to change the shaders a
bit.
2019-11-05 05:26:20 +01:00
Héctor Ramón Jiménez
b9e0f74948
Create iced_core and iced_native
2019-09-20 19:15:31 +02:00
Héctor Ramón Jiménez
a97401aed2
Rethink workspace structure
2019-09-14 19:16:06 +02:00
Héctor Ramón Jiménez
8b8f7563ad
Switch to workspace layout
2019-09-10 19:41:49 +02:00