shan
|
40f45d7b7e
|
Adds linear gradient support to 2D meshes in the canvas widget.
|
2022-09-29 11:15:35 -07:00 |
|
Héctor Ramón Jiménez
|
4655411256
|
Make Cache::clear immutable
|
2022-09-13 17:38:44 +02:00 |
|
Cory Forsstrom
|
56ad3a3221
|
Don't double translate text clip
|
2022-08-15 09:29:53 -07:00 |
|
Héctor Ramón Jiménez
|
ff2519b1d4
|
Replace stateful widgets with new iced_pure API
|
2022-07-27 06:49:20 +02:00 |
|
Héctor Ramón Jiménez
|
f7059a1c9a
|
Remove unnecessary let bindings in canvas::Frame
|
2022-07-11 15:59:38 +02:00 |
|
Héctor Ramón Jiménez
|
fe34b7a339
|
Update lyon to 1.0 🎉
Congrats and thanks to @nical!
|
2022-07-11 15:53:33 +02:00 |
|
ThatsNoMoon
|
53d93a37dd
|
fix another discrepancy with HTML5 arcTo
HTML5's arcTo does not draw a line from the end of the arc to `b`, so
this should not either.
|
2022-07-10 15:12:11 +02:00 |
|
ThatsNoMoon
|
20b58e0214
|
fix arc_to
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 ).
|
2022-07-10 15:12:01 +02:00 |
|
Héctor Ramón Jiménez
|
2065a40f64
|
Fix clippy lints for all crates and features
... and check those in CI as well!
|
2022-07-09 18:43:05 +02:00 |
|
Héctor Ramón Jiménez
|
33a24b5821
|
Run cargo fmt
|
2022-07-09 17:07:40 +02:00 |
|
Poly
|
15f794b7a8
|
Address Clippy lints
|
2022-07-09 17:07:38 +02:00 |
|
Héctor Ramón Jiménez
|
fa55dff61d
|
Merge branch 'master' into theming
|
2022-07-08 19:31:45 +02:00 |
|
Jhanny Jimenez
|
a983c0c15b
|
Added more clarification as to how the position and alignment of the Canvas Text structure interact
|
2022-06-22 17:32:55 -04:00 |
|
Héctor Ramón Jiménez
|
fc13bb3d65
|
Implement theme styling for Canvas
|
2022-06-07 05:24:43 +02:00 |
|
Héctor Ramón Jiménez
|
ec8ed9fa8b
|
Fix canvas::Frame issuing a new layer for Mesh2D in with_clip
Text will still be rendered in its own layer, until we fix the composition bottleneck in `glyph-brush`.
|
2022-03-10 23:33:58 +07:00 |
|
Héctor Ramón
|
4411da25cf
|
Merge pull request #1264 from tarkah/canvas/clip
Add clip to canvas
|
2022-03-05 13:31:39 +07:00 |
|
Héctor Ramón Jiménez
|
27e859e153
|
Use Rectangle directly in Frame::with_clip
|
2022-03-02 21:03:46 +07:00 |
|
Cory Forsstrom
|
f40da376ce
|
Add doc comment
|
2022-02-23 11:36:41 -08:00 |
|
Cory Forsstrom
|
16b63031c1
|
Add with_clip for canvas
|
2022-02-23 11:05:52 -08:00 |
|
Héctor Ramón Jiménez
|
bace264bfe
|
Access lyon_algorithms indirectly through lyon
|
2022-02-03 17:19:48 +07:00 |
|
Héctor Ramón Jiménez
|
f56c8a7361
|
Ask for a slice of segments instead of ownership in LineDash
|
2022-02-03 17:18:05 +07:00 |
|
Cory Forsstrom
|
730c57ba67
|
Remove vec allocation
|
2022-01-27 10:01:03 -08:00 |
|
Cory Forsstrom
|
e835cea03c
|
Add line dash API
|
2022-01-27 09:40:52 -08:00 |
|
Héctor Ramón Jiménez
|
a0ad399622
|
Refactor alignment types into an alignment module
|
2021-09-20 15:14:08 +07:00 |
|
Héctor Ramón Jiménez
|
59b3d724ed
|
Use FillTessellator::tessellate_rectangle in Frame
|
2021-08-26 15:44:32 +07:00 |
|
Héctor Ramón Jiménez
|
82d967c04f
|
Avoid reallocating tessellators in Frame methods
|
2021-08-26 15:41:12 +07:00 |
|
Héctor Ramón Jiménez
|
d0fe7b57ea
|
Update lyon to 0.17 in iced_graphics
|
2021-08-26 14:54:02 +07:00 |
|
Diego Fujii
|
80df17ab55
|
fix-typo
|
2021-06-24 00:16:08 +09:00 |
|
Downtime
|
ca4257ff5c
|
Update frame.rs
|
2021-04-01 21:58:25 +08:00 |
|
Héctor Ramón Jiménez
|
01322f69a4
|
Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
|
2020-11-26 02:05:43 +01:00 |
|
Héctor Ramón Jiménez
|
77c7ad1fef
|
Fix backwards Frame::rotate in canvas
The angle direction has been fixed upstream in `euclid` (see
https://github.com/servo/euclid/pull/413).
|
2020-11-22 11:05:08 +01:00 |
|
Héctor Ramón Jiménez
|
3aca177132
|
Implement event capturing for Canvas
|
2020-11-12 01:24:59 +01:00 |
|
Héctor Ramón Jiménez
|
3f968b8c87
|
Make Widget::on_event return an event::Status
|
2020-11-12 00:09:52 +01:00 |
|
Héctor Ramón Jiménez
|
00d66da0ce
|
Add Keyboard variant to canvas::Event
|
2020-08-10 23:57:29 +02:00 |
|
Vanille-N
|
7b6f1baa69
|
Calculated sweep_angle in call to lyon::geom::Arc was actually end_angle
Adresses `Arc end_angle should be renamed to span_angle #400`
|
2020-06-11 14:58:47 +02:00 |
|
Héctor Ramón Jiménez
|
ede4440e99
|
Introduce fill rule setting in canvas
|
2020-06-02 02:21:07 +02:00 |
|
Héctor Ramón Jiménez
|
720e7756f2
|
Move Layer to iced_graphics
|
2020-05-19 23:19:39 +02:00 |
|
Héctor Ramón Jiménez
|
05af8d00d4
|
Draft new iced_graphics crate 🎉
|
2020-05-19 17:15:44 +02:00 |
|