summaryrefslogtreecommitdiffstats
path: root/graphics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove `min_bounds` field in `graphics::text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-17/+0
|
* Remove `Editor::min_bounds` and use `bounds` insteadLibravatar Héctor Ramón Jiménez2023-09-141-4/+0
|
* Implement `Action::SelectLine` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-1/+18
|
* Implement `Action::SelectWord` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-142-1/+61
|
* Implement motion selection in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-1/+20
|
* Handle motions when a selection is present in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-23/+47
|
* Fix `Cursor::Caret` position on lines that wrap on whitespaceLibravatar Héctor Ramón Jiménez2023-09-141-2/+12
|
* Fix scrolling offset for `Cursor::Selection`Libravatar Héctor Ramón Jiménez2023-09-141-43/+31
|
* Fix `clippy` lintsLibravatar Héctor Ramón Jiménez2023-09-131-9/+18
|
* Introduce `Motion` concept in `core::text::editor`Libravatar Héctor Ramón Jiménez2023-09-131-24/+82
|
* Implement `Cursor::Selection` calculation in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-131-3/+115
|
* Fix subline positioning in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-121-1/+1
|
* Fix cursor offset with `Affinity::After` at the end of lines in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-121-1/+4
|
* Return `Cursor::Caret` if selection matches cursor position in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-121-5/+8
|
* Add `Enter` variant to `Action` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-121-0/+1
|
* Draft `Editor` API and `TextEditor` widgetLibravatar Héctor Ramón Jiménez2023-09-125-0/+360
|
* Make `FontSystem` global and simplify `Paragraph` APILibravatar Héctor Ramón Jiménez2023-09-115-150/+95
|
* Fix (more) broken intradoc linksLibravatar Héctor Ramón Jiménez2023-09-102-4/+4
| | | | Good thing I just set up CI earlier for this :sweat_smile:
* Merge branch 'master' into explicit-text-cachingLibravatar Héctor Ramón Jiménez2023-09-109-65/+58
|\
| * Fix outstanding broken intradoc linksLibravatar Héctor Ramón Jiménez2023-09-094-9/+8
| |
| * Deny `broken_intradoc_links` and verify documentation in CILibravatar Héctor Ramón Jiménez2023-09-091-2/+3
| |
| * Fix majority of unresolved documentation linksLibravatar Matthias Vogelgesang2023-09-093-5/+5
| |
| * Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez2023-09-041-35/+27
| | | | | | | | | | | | We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version.
* | Remove unused `unicode-segmentation` dependency from `iced_graphics`Libravatar Héctor Ramón Jiménez2023-09-091-1/+0
| |
* | Count grapheme clusters in `Paragraph::grapheme_position`Libravatar Héctor Ramón Jiménez2023-09-091-2/+21
| |
* | Invalidate existing paragraphs when new fonts are loadedLibravatar Héctor Ramón Jiménez2023-09-093-13/+69
| |
* | Introduce `keyed::Column` widgetLibravatar Héctor Ramón Jiménez2023-09-041-0/+2
| |
* | Fix `Default` implementation for `Paragraph`Libravatar Héctor Ramón Jiménez2023-09-011-17/+23
| |
* | Replace `MaybeUninit` with `Option` in `paragraph`Libravatar Héctor Ramón Jiménez2023-09-011-44/+28
| |
* | Use `Arc::try_unwrap` in `Paragraph`Libravatar Héctor Ramón Jiménez2023-09-011-59/+95
| | | | | | | | | | | | We use `MaybeUninit` here instead of `Option` to save some cycles, but I will most likely change it for an `Option` since unsafe code is quite scary.
* | Remove `Clone` implementation for `Paragraph`Libravatar Héctor Ramón Jiménez2023-09-011-1/+1
| |
* | Use `min_bounds` for cached textLibravatar Héctor Ramón Jiménez2023-08-301-4/+13
| |
* | Implement explicit text caching in the widget state treeLibravatar Héctor Ramón Jiménez2023-08-3011-137/+596
|/
* Update arc.rs with improved documentationLibravatar Kxie2023-08-151-6/+6
| | | added units and improved description to field comments of Arc and Ellipse structs.
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-07-281-2/+2
|
* Trim text measurements only before `layout`Libravatar Héctor Ramón Jiménez2023-06-292-0/+9
|
* Revert "Remove `layout` method from `core::Renderer` trait"Libravatar Héctor Ramón Jiménez2023-06-291-1/+12
| | | | This reverts commit 2128472c2a8afcb59927712497c4f613612e9dcc.
* Write missing docs in `iced_graphics` and `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-296-3/+11
|
* Decouple `Mesh` primitives from main `Primitive` typeLibravatar Héctor Ramón Jiménez2023-06-295-72/+80
|
* Remove `layout` method from `core::Renderer` traitLibravatar Héctor Ramón Jiménez2023-06-291-12/+1
|
* Introduce custom backend-specific primitivesLibravatar Héctor Ramón Jiménez2023-06-297-152/+129
|
* Reuse entries in `text::Cache` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-282-2/+2
|
* Merge pull request #1885 from bungoboingo/gradient-packing-optimizationLibravatar Héctor Ramón2023-06-272-23/+60
|\ | | | | Small gradient optimization
| * Switched to packing using f16s to maintain acceptable precision.Libravatar Bingus2023-06-072-30/+53
| |
| * Updated color packing into u32 to consider incorrect web-colors.Libravatar Bingus2023-06-061-13/+20
| |
| * Optimized gradient data packing.Libravatar Bingus2023-06-061-32/+39
| |
* | Merge pull request #1845 from bungoboingo/feat/offscreen-renderingLibravatar Héctor Ramón2023-06-271-1/+14
|\ \ | | | | | | Feat: Offscreen Rendering & Screenshots
| * | Added offscreen rendering support for wgpu & tiny-skia exposed with the ↵Libravatar Bingus2023-06-061-1/+14
| |/ | | | | | | window::screenshot command.
* / Use subpixel glyph positioning and layout linearityLibravatar Héctor Ramón Jiménez2023-06-203-32/+9
|/ | | | ... for offsetting and scaling text
* Introduce `web-colors` feature flag to enable sRGB linear blendingLibravatar Héctor Ramón Jiménez2023-05-315-3/+56
| | | | | | | | | | | | | | | This is how browsers perform color management. They treat gamma-corrected sRGB colors as if they were linear RGB. Correctness aside, this mode is introduced for legacy reasons. Most UI/UX tooling uses this color management as well, and many have created an intuition about how color should behave from interacting with a browser. This feature flag should facilitate application development with `iced` in those cases. More details: https://webcolorisstillbroken.com/