summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/canvas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-03-0113-1468/+0
|
* Overhaul `Font` type to allow font family selectionLibravatar Héctor Ramón Jiménez2023-02-241-1/+1
|
* Accept FnOnce instead of Fn in canvas cache drawLibravatar sushigiri2023-02-061-1/+5
| | | | | Use FnOnce in `draw` function signature instead of `Fn`, permitting the use of iterators and other one-time functions.
* Implement `From` traits for `Style` in `canvas`Libravatar Héctor Ramón Jiménez2022-11-281-0/+12
|
* Group all solid triangles independently of colorLibravatar Héctor Ramón Jiménez2022-11-164-48/+163
|
* 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.
* Fix broken documentation linksLibravatar Héctor Ramón Jiménez2022-11-102-2/+2
|
* 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-033-68/+30
|
* Fix lints by `clippy`Libravatar Héctor Ramón Jiménez2022-11-031-3/+3
|
* Reuse last buffer in `Frame` if `mesh_style` matchesLibravatar Héctor Ramón Jiménez2022-11-032-33/+47
|
* Merge branch 'master' into fear/linear-gradientsLibravatar Bingus2022-10-071-0/+4
|\
| * expose touch events in canvas widgetLibravatar Artur Sapek2022-10-041-0/+4
| |
* | 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-073-21/+24
| |
* | Fixed import issue with canvas in the gradient mod for situations where ↵Libravatar shan2022-10-073-4/+20
| | | | | | | | canvas feature is not enabled.
* | Added support for relative positioning of gradient fills. Addressed some PR ↵Libravatar shan2022-10-071-5/+5
| | | | | | | | feedback.
* | Fixed some more imports/documentation.Libravatar shan2022-10-062-3/+3
| |
* | Added support for gradients to respect current frame transform.Libravatar shan2022-10-063-18/+42
| |
* | 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-053-21/+37
| |
* | Reworked wgpu buffers, updated glow side to have proper transform location ↵Libravatar shan2022-10-042-14/+14
| | | | | | | | storage, attempting to fix visibility modifiers, implemented some of the feedback received in initial PR.
* | Fixed some importing issues since you can use a Shader::Gradient outside a ↵Libravatar shan2022-09-305-99/+28
| | | | | | | | Canvas widget, where it was previously only accessible.
* | Fixed issue where stops could be declared out of order in the builder but ↵Libravatar shan2022-09-291-8/+8
| | | | | | | | must be sorted before being passed to shader.
* | Adds linear gradient support to 2D meshes in the canvas widget.Libravatar shan2022-09-295-89/+177
|/
* Make `Cache::clear` immutableLibravatar Héctor Ramón Jiménez2022-09-131-1/+1
|
* 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-275-23/+30
|
* 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-113-8/+7
| | | | Congrats and thanks to @nical!
* fix another discrepancy with HTML5 arcToLibravatar ThatsNoMoon2022-07-101-7/+12
| | | | | HTML5's arcTo does not draw a line from the end of the arc to `b`, so this should not either.
* fix arc_toLibravatar ThatsNoMoon2022-07-101-7/+41
| | | | | Fixed `path::Builder::arc_to` to behave the same as [HTML5's `arcTo`] ( https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-arcto ).
* Fix `clippy` lints for all crates and featuresLibravatar Héctor Ramón Jiménez2022-07-091-0/+6
| | | | ... and check those in CI as well!
* Run `cargo fmt`Libravatar Héctor Ramón Jiménez2022-07-091-3/+2
|
* Address Clippy lintsLibravatar Poly2022-07-092-4/+3
|
* Merge branch 'master' into themingLibravatar Héctor Ramón Jiménez2022-07-081-1/+8
|\
| * Added more clarification as to how the position and alignment of the Canvas ↵Libravatar Jhanny Jimenez2022-06-221-1/+8
| | | | | | | | Text structure interact
* | Implement theme styling for `Canvas`Libravatar Héctor Ramón Jiménez2022-06-071-7/+19
|/
* Fix `canvas::Frame` issuing a new layer for `Mesh2D` in `with_clip`Libravatar Héctor Ramón Jiménez2022-03-102-16/+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
| |
* | Access `lyon_algorithms` indirectly through `lyon`Libravatar Héctor Ramón Jiménez2022-02-031-2/+2
| |
* | Ask for a slice of segments instead of ownership in `LineDash`Libravatar Héctor Ramón Jiménez2022-02-033-23/+23
| |
* | Remove vec allocationLibravatar Cory Forsstrom2022-01-271-35/+36
| |
* | Add line dash APILibravatar Cory Forsstrom2022-01-273-1/+66
|/
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-201-5/+6
|
* Use `FillTessellator::tessellate_rectangle` in `Frame`Libravatar Héctor Ramón Jiménez2021-08-261-10/+8
|