summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/canvas/frame.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-03-011-530/+0
|
* Group all solid triangles independently of colorLibravatar Héctor Ramón Jiménez2022-11-161-46/+150
|
* Added conditional configurations for WASM target for gradients & storage ↵Libravatar bungoboingo2022-11-101-0/+1
| | | | buffers, since storage buffers are not supported on wgpu WASM target at the moment.
* Remove unnecessary `pub(crate)` in `widget::canvas::frame`Libravatar Héctor Ramón Jiménez2022-11-031-5/+2
|
* Refactor imports of `widget::canvas::frame` in `iced_graphics`Libravatar Héctor Ramón Jiménez2022-11-031-7/+7
|
* Move `mesh::Style` to `triangle` and reuse it in `fill` and `stroke`Libravatar Héctor Ramón Jiménez2022-11-031-9/+17
|
* Reuse last buffer in `Frame` if `mesh_style` matchesLibravatar Héctor Ramón Jiménez2022-11-031-29/+45
|
* Jumped the gun on pushing; one more readability update :PLibravatar shan2022-10-071-3/+3
|
* Adjusted gradient transform function to be more readable.Libravatar shan2022-10-071-3/+16
|
* Fixed import issue with canvas in the gradient mod for situations where ↵Libravatar shan2022-10-071-2/+1
| | | | canvas feature is not enabled.
* Added support for relative positioning of gradient fills. Addressed some PR ↵Libravatar shan2022-10-071-5/+5
| | | | feedback.
* Added support for gradients to respect current frame transform.Libravatar shan2022-10-061-10/+22
|
* Changed tesselation functions to take Vertex2D builder instead of using ↵Libravatar shan2022-10-061-17/+31
| | | | lyon's builtin Point type to avoid extra copies.
* Readjusted namespaces, removed Geometry example as it's no longer relevant.Libravatar shan2022-10-051-10/+22
|
* Fixed some importing issues since you can use a Shader::Gradient outside a ↵Libravatar shan2022-09-301-1/+6
| | | | Canvas widget, where it was previously only accessible.
* Adds linear gradient support to 2D meshes in the canvas widget.Libravatar shan2022-09-291-73/+40
|
* Don't double translate text clipLibravatar Cory Forsstrom2022-08-151-1/+1
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-5/+4
|
* Remove unnecessary `let` bindings in `canvas::Frame`Libravatar Héctor Ramón Jiménez2022-07-111-4/+3
|
* Update `lyon` to `1.0` :tada:Libravatar Héctor Ramón Jiménez2022-07-111-1/+1
| | | | Congrats and thanks to @nical!
* Fix `canvas::Frame` issuing a new layer for `Mesh2D` in `with_clip`Libravatar Héctor Ramón Jiménez2022-03-101-10/+32
| | | | Text will still be rendered in its own layer, until we fix the composition bottleneck in `glyph-brush`.
* Merge pull request #1264 from tarkah/canvas/clipLibravatar Héctor Ramón2022-03-051-0/+21
|\ | | | | Add clip to canvas
| * Use `Rectangle` directly in `Frame::with_clip`Libravatar Héctor Ramón Jiménez2022-03-021-21/+11
| |
| * Add doc commentLibravatar Cory Forsstrom2022-02-231-1/+8
| |
| * Add with_clip for canvasLibravatar Cory Forsstrom2022-02-231-0/+24
| |
* | Ask for a slice of segments instead of ownership in `LineDash`Libravatar Héctor Ramón Jiménez2022-02-031-1/+1
| |
* | Add line dash APILibravatar Cory Forsstrom2022-01-271-0/+9
|/
* Use `FillTessellator::tessellate_rectangle` in `Frame`Libravatar Héctor Ramón Jiménez2021-08-261-10/+8
|
* Avoid reallocating tessellators in `Frame` methodsLibravatar Héctor Ramón Jiménez2021-08-261-27/+36
|
* Update `lyon` to `0.17` in `iced_graphics`Libravatar Héctor Ramón Jiménez2021-08-261-24/+20
|
* Update frame.rsLibravatar Downtime2021-04-011-1/+1
|
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-33/+2
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Fix backwards `Frame::rotate` in `canvas`Libravatar Héctor Ramón Jiménez2020-11-221-1/+1
| | | | | The angle direction has been fixed upstream in `euclid` (see https://github.com/servo/euclid/pull/413).
* Introduce fill rule setting in `canvas`Libravatar Héctor Ramón Jiménez2020-06-021-17/+10
|
* Move `Layer` to `iced_graphics`Libravatar Héctor Ramón Jiménez2020-05-191-1/+1
|
* Draft new `iced_graphics` crate :tada:Libravatar Héctor Ramón Jiménez2020-05-191-0/+367