summaryrefslogtreecommitdiffstats
path: root/graphics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Chore: Apply clippy docs keyword quotingLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | Add quotes a number of doc strings like `sRGB`
* 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/
* Make `Packed` fully opaqueLibravatar Héctor Ramón Jiménez2023-05-291-4/+27
| | | | ... by only allowing direct conversion from our `Gradient` types
* Changed gradient::Packed to be `repr(C)` for direct gpu upload.Libravatar Bingus2023-05-262-6/+11
|
* Created "Packed" data structure for gradient data.Libravatar Bingus2023-05-251-13/+20
|
* Made gradient pack public for iced_graphics::gradient mod for use with ↵Libravatar Bingus2023-05-241-0/+33
| | | | GradientVertex2D.
* Update `glam` to `0.24`Libravatar Benoît du Garreau2023-05-221-1/+1
|
* Merge pull request #1846 from bungoboingo/feat/background-gradientsLibravatar Héctor Ramón2023-05-197-18/+124
|\ | | | | [Feature] Gradients for Backgrounds
| * Fix imports of `geometry::style` in `iced_graphics`Libravatar Héctor Ramón Jiménez2023-05-191-2/+2
| |
| * Remove `Builder` abstractions for gradientsLibravatar Héctor Ramón Jiménez2023-05-194-93/+71
| |
| * Added support for gradients as background variants + other optimizations.Libravatar Bingus2023-05-116-16/+144
| |
* | Enable `doc_auto_cfg` when generating documentationLibravatar Héctor Ramón Jiménez2023-05-111-1/+1
|/
* Write missing documentation in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-05-111-5/+1
|
* Write missing documentation in `iced_graphics`Libravatar Héctor Ramón Jiménez2023-05-117-9/+31
|
* Support configurable `LineHeight` in text widgetsLibravatar Héctor Ramón Jiménez2023-05-044-3/+21
|
* Introduce `text::Shaping` enum and replace magic booleanLibravatar Héctor Ramón Jiménez2023-05-024-33/+20
|
* Make basic text shaping the default shaping strategyLibravatar Héctor Ramón Jiménez2023-05-024-1/+27
|
* Expand damage regions of `Clip` primitives a bitLibravatar Héctor Ramón Jiménez2023-04-272-3/+5
|