summaryrefslogtreecommitdiffstats
path: root/graphics/src/gradient.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-06-21Implement Copy on Fill and StrokeLibravatar Vlad-Stefan Harbuz1-1/+1
2023-09-20Fix `clippy::semicolon_if_nothing_returned`Libravatar Héctor Ramón Jiménez1-1/+1
2023-09-19Chore: Apply some minor clippy fixesLibravatar Yuri Astrakhan1-1/+1
* Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared
2023-09-09Fix outstanding broken intradoc linksLibravatar Héctor Ramón Jiménez1-6/+1
2023-09-09Fix majority of unresolved documentation linksLibravatar Matthias Vogelgesang1-2/+2
2023-06-29Decouple `Mesh` primitives from main `Primitive` typeLibravatar Héctor Ramón Jiménez1-1/+2
2023-06-07Switched to packing using f16s to maintain acceptable precision.Libravatar Bingus1-30/+52
2023-06-06Updated color packing into u32 to consider incorrect web-colors.Libravatar Bingus1-13/+20
2023-06-06Optimized gradient data packing.Libravatar Bingus1-32/+39
2023-05-31Introduce `web-colors` feature flag to enable sRGB linear blendingLibravatar Héctor Ramón Jiménez1-2/+6
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/
2023-05-29Make `Packed` fully opaqueLibravatar Héctor Ramón Jiménez1-4/+27
... by only allowing direct conversion from our `Gradient` types
2023-05-26Changed gradient::Packed to be `repr(C)` for direct gpu upload.Libravatar Bingus1-5/+9
2023-05-25Created "Packed" data structure for gradient data.Libravatar Bingus1-13/+20
2023-05-24Made gradient pack public for iced_graphics::gradient mod for use with ↵Libravatar Bingus1-0/+33
GradientVertex2D.
2023-05-19Remove `Builder` abstractions for gradientsLibravatar Héctor Ramón Jiménez1-88/+57
2023-05-11Added support for gradients as background variants + other optimizations.Libravatar Bingus1-0/+119
2023-03-01Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez1-117/+0
2023-01-04Fix lintLibravatar Cory Forsstrom1-1/+1
2023-01-04Make location copyLibravatar Cory Forsstrom1-1/+1
2022-11-10Fix broken documentation linksLibravatar Héctor Ramón Jiménez1-1/+6
2022-11-03Move `Position` and `Location` to `gradient` moduleLibravatar Héctor Ramón Jiménez1-7/+89
2022-10-07Adjusted gradient transform function to be more readable.Libravatar shan1-7/+1
2022-10-07Fixed import issue with canvas in the gradient mod for situations where ↵Libravatar shan1-21/+5
canvas feature is not enabled.
2022-10-07Added support for relative positioning of gradient fills. Addressed some PR ↵Libravatar shan1-6/+16
feedback.
2022-10-06Fixed some more imports/documentation.Libravatar shan1-2/+1
2022-10-06Added support for gradients to respect current frame transform.Libravatar shan1-1/+13
2022-10-06Fixed lint issues & cleaned up some documentation.Libravatar shan1-1/+0
2022-10-05Readjusted namespaces, removed Geometry example as it's no longer relevant.Libravatar shan1-73/+2
2022-10-04Reworked wgpu buffers, updated glow side to have proper transform location ↵Libravatar shan1-1/+1
storage, attempting to fix visibility modifiers, implemented some of the feedback received in initial PR.
2022-09-30Fixed some importing issues since you can use a Shader::Gradient outside a ↵Libravatar shan1-6/+86
Canvas widget, where it was previously only accessible.
2022-09-29Adds linear gradient support to 2D meshes in the canvas widget.Libravatar shan1-0/+23
2022-09-29Adds linear gradient support to 2D meshes in the canvas widget.Libravatar shan1-0/+23