Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement `Canvas` support for `iced_tiny_skia` | 2023-03-01 | 13 | -1468/+0 | |
| | |||||
* | Overhaul `Font` type to allow font family selection | 2023-02-24 | 1 | -1/+1 | |
| | |||||
* | Accept FnOnce instead of Fn in canvas cache draw | 2023-02-06 | 1 | -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` | 2022-11-28 | 1 | -0/+12 | |
| | |||||
* | Group all solid triangles independently of color | 2022-11-16 | 4 | -48/+163 | |
| | |||||
* | Added conditional configurations for WASM target for gradients & storage ↵ | 2022-11-10 | 1 | -0/+1 | |
| | | | | buffers, since storage buffers are not supported on wgpu WASM target at the moment. | ||||
* | Fix broken documentation links | 2022-11-10 | 2 | -2/+2 | |
| | |||||
* | Remove unnecessary `pub(crate)` in `widget::canvas::frame` | 2022-11-03 | 1 | -5/+2 | |
| | |||||
* | Refactor imports of `widget::canvas::frame` in `iced_graphics` | 2022-11-03 | 1 | -7/+7 | |
| | |||||
* | Move `mesh::Style` to `triangle` and reuse it in `fill` and `stroke` | 2022-11-03 | 3 | -68/+30 | |
| | |||||
* | Fix lints by `clippy` | 2022-11-03 | 1 | -3/+3 | |
| | |||||
* | Reuse last buffer in `Frame` if `mesh_style` matches | 2022-11-03 | 2 | -33/+47 | |
| | |||||
* | Merge branch 'master' into fear/linear-gradients | 2022-10-07 | 1 | -0/+4 | |
|\ | |||||
| * | expose touch events in canvas widget | 2022-10-04 | 1 | -0/+4 | |
| | | |||||
* | | Jumped the gun on pushing; one more readability update :P | 2022-10-07 | 1 | -3/+3 | |
| | | |||||
* | | Adjusted gradient transform function to be more readable. | 2022-10-07 | 3 | -21/+24 | |
| | | |||||
* | | Fixed import issue with canvas in the gradient mod for situations where ↵ | 2022-10-07 | 3 | -4/+20 | |
| | | | | | | | | canvas feature is not enabled. | ||||
* | | Added support for relative positioning of gradient fills. Addressed some PR ↵ | 2022-10-07 | 1 | -5/+5 | |
| | | | | | | | | feedback. | ||||
* | | Fixed some more imports/documentation. | 2022-10-06 | 2 | -3/+3 | |
| | | |||||
* | | Added support for gradients to respect current frame transform. | 2022-10-06 | 3 | -18/+42 | |
| | | |||||
* | | Changed tesselation functions to take Vertex2D builder instead of using ↵ | 2022-10-06 | 1 | -17/+31 | |
| | | | | | | | | lyon's builtin Point type to avoid extra copies. | ||||
* | | Readjusted namespaces, removed Geometry example as it's no longer relevant. | 2022-10-05 | 3 | -21/+37 | |
| | | |||||
* | | Reworked wgpu buffers, updated glow side to have proper transform location ↵ | 2022-10-04 | 2 | -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 ↵ | 2022-09-30 | 5 | -99/+28 | |
| | | | | | | | | Canvas widget, where it was previously only accessible. | ||||
* | | Fixed issue where stops could be declared out of order in the builder but ↵ | 2022-09-29 | 1 | -8/+8 | |
| | | | | | | | | must be sorted before being passed to shader. | ||||
* | | Adds linear gradient support to 2D meshes in the canvas widget. | 2022-09-29 | 5 | -89/+177 | |
|/ | |||||
* | Make `Cache::clear` immutable | 2022-09-13 | 1 | -1/+1 | |
| | |||||
* | Don't double translate text clip | 2022-08-15 | 1 | -1/+1 | |
| | |||||
* | Replace stateful widgets with new `iced_pure` API | 2022-07-27 | 5 | -23/+30 | |
| | |||||
* | Remove unnecessary `let` bindings in `canvas::Frame` | 2022-07-11 | 1 | -4/+3 | |
| | |||||
* | Update `lyon` to `1.0` :tada: | 2022-07-11 | 3 | -8/+7 | |
| | | | | Congrats and thanks to @nical! | ||||
* | fix another discrepancy with HTML5 arcTo | 2022-07-10 | 1 | -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_to | 2022-07-10 | 1 | -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 features | 2022-07-09 | 1 | -0/+6 | |
| | | | | ... and check those in CI as well! | ||||
* | Run `cargo fmt` | 2022-07-09 | 1 | -3/+2 | |
| | |||||
* | Address Clippy lints | 2022-07-09 | 2 | -4/+3 | |
| | |||||
* | Merge branch 'master' into theming | 2022-07-08 | 1 | -1/+8 | |
|\ | |||||
| * | Added more clarification as to how the position and alignment of the Canvas ↵ | 2022-06-22 | 1 | -1/+8 | |
| | | | | | | | | Text structure interact | ||||
* | | Implement theme styling for `Canvas` | 2022-06-07 | 1 | -7/+19 | |
|/ | |||||
* | Fix `canvas::Frame` issuing a new layer for `Mesh2D` in `with_clip` | 2022-03-10 | 2 | -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/clip | 2022-03-05 | 1 | -0/+21 | |
|\ | | | | | Add clip to canvas | ||||
| * | Use `Rectangle` directly in `Frame::with_clip` | 2022-03-02 | 1 | -21/+11 | |
| | | |||||
| * | Add doc comment | 2022-02-23 | 1 | -1/+8 | |
| | | |||||
| * | Add with_clip for canvas | 2022-02-23 | 1 | -0/+24 | |
| | | |||||
* | | Access `lyon_algorithms` indirectly through `lyon` | 2022-02-03 | 1 | -2/+2 | |
| | | |||||
* | | Ask for a slice of segments instead of ownership in `LineDash` | 2022-02-03 | 3 | -23/+23 | |
| | | |||||
* | | Remove vec allocation | 2022-01-27 | 1 | -35/+36 | |
| | | |||||
* | | Add line dash API | 2022-01-27 | 3 | -1/+66 | |
|/ | |||||
* | Refactor alignment types into an `alignment` module | 2021-09-20 | 1 | -5/+6 | |
| | |||||
* | Use `FillTessellator::tessellate_rectangle` in `Frame` | 2021-08-26 | 1 | -10/+8 | |
| |