Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement `Canvas` support for `iced_tiny_skia` | 2023-03-01 | 15 | -2037/+0 | |
| | |||||
* | Overhaul `Font` type to allow font family selection | 2023-02-24 | 1 | -1/+1 | |
| | |||||
* | Use `f32` in `Length::Units` and rename it to `Fixed` | 2023-02-17 | 1 | -7/+7 | |
| | |||||
* | 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 | 5 | -48/+165 | |
| | |||||
* | 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 re-export in `widget::canvas` in `iced_graphics` | 2022-11-03 | 1 | -1/+1 | |
| | |||||
* | Fix documentation example of `Canvas` | 2022-11-03 | 1 | -5/+9 | |
| | | | | ... so it makes sense when seen from the `iced` crate. | ||||
* | Refactor imports in `widget::canvas` in `iced_graphics` | 2022-11-03 | 1 | -4/+3 | |
| | |||||
* | 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 | |
| | |||||
* | Run `cargo fmt` | 2022-11-03 | 1 | -4/+4 | |
| | |||||
* | 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 | 2 | -0/+7 | |
|\ | |||||
| * | expose touch events in canvas widget | 2022-10-04 | 2 | -0/+7 | |
| | | |||||
* | | 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. | ||||
* | | Adjusted reexports for clarity. | 2022-10-07 | 1 | -1/+1 | |
| | | |||||
* | | Added support for relative positioning of gradient fills. Addressed some PR ↵ | 2022-10-07 | 2 | -6/+6 | |
| | | | | | | | | feedback. | ||||
* | | Fixed some more imports/documentation. | 2022-10-06 | 2 | -3/+3 | |
| | | |||||
* | | Added support for gradients to respect current frame transform. | 2022-10-06 | 4 | -19/+43 | |
| | | |||||
* | | 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. | ||||
* | | Reduced memory transfer of OpenGL gradient uniform upload. Rearranged ↵ | 2022-10-05 | 1 | -2/+1 | |
| | | | | | | | | gradient uniforms on OpenGL side to be more performant. | ||||
* | | Readjusted namespaces, removed Geometry example as it's no longer relevant. | 2022-10-05 | 4 | -24/+42 | |
| | | |||||
* | | Reworked wgpu buffers, updated glow side to have proper transform location ↵ | 2022-10-04 | 3 | -16/+16 | |
| | | | | | | | | 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 | 6 | -110/+33 | |
| | | | | | | | | 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 | 6 | -91/+181 | |
|/ | |||||
* | Make `Cache::clear` immutable | 2022-09-13 | 1 | -1/+1 | |
| | |||||
* | Don't double translate text clip | 2022-08-15 | 1 | -1/+1 | |
| | |||||
* | Remove `pure` leftovers in `iced_graphics` | 2022-07-27 | 3 | -322/+0 | |
| | |||||
* | Replace stateful widgets with new `iced_pure` API | 2022-07-27 | 8 | -154/+66 | |
| | |||||
* | 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 ). | ||||
* | Merge pull request #1379 from PolyMeilex/fix/clippy | 2022-07-09 | 4 | -18/+19 | |
|\ | | | | | Address Clippy lints | ||||
| * | Fix `clippy` lints for all crates and features | 2022-07-09 | 3 | -8/+14 | |
| | | | | | | | | ... and check those in CI as well! | ||||
| * | Run `cargo fmt` | 2022-07-09 | 1 | -3/+2 | |
| | | |||||
| * | Address Clippy lints | 2022-07-09 | 3 | -8/+4 | |
| | | |||||
* | | Fix doc example in `pure::canvas::Program` | 2022-07-09 | 1 | -1/+3 | |
| | | | | | | The `widget` module was missing. | ||||
* | | Update import path in pure canvas example | 2022-07-09 | 1 | -1/+1 | |
|/ | | | | | In current version, `iced::pure::canvas` would be unresolved. It should be `iced::pure::widget::canvas`. | ||||
* | Merge branch 'master' into theming | 2022-07-08 | 2 | -2/+10 | |
|\ | |||||
| * | Fix `Widget::tag` implementation of `pure::Canvas` | 2022-07-01 | 1 | -1/+2 | |
| | | | | | | | | | | Using `P::State` can cause a panic if the `Canvas` has `()` as `P::State` and replaces a stateless widget in a future `view` call. | ||||
| * | Added more clarification as to how the position and alignment of the Canvas ↵ | 2022-06-22 | 1 | -1/+8 | |
| | | | | | | | | Text structure interact |