Commit graph

188 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
0b459c8e24
Introduce font::Stretch 2023-03-30 02:01:20 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes 2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
5f9e7f6cb9
Update cosmic-text to latest 🎉 2023-03-19 14:52:30 +01:00
Héctor Ramón Jiménez
ea50ec8df1
Trim text Buffer cache every frame in iced_wgpu and iced_tiny_skia 2023-03-17 19:58:42 +01:00
Héctor Ramón Jiménez
c8f637fc16
Fix panic rendering an out of bounds clip in iced_tiny_skia 2023-03-17 19:35:57 +01:00
Héctor Ramón Jiménez
424ac81773
Implement color filter support for Primitive::Svg in iced_tiny_skia 2023-03-09 04:48:35 +01:00
Héctor Ramón Jiménez
24c3d20a76
Tell clippy to go learn the borrow rules 2023-03-07 06:34:27 +01:00
Héctor Ramón Jiménez
0850f52d8c
Use ceil to avoid cut text in iced_tiny_skia
This won't be necessary once we reuse the buffers from layouting by
leveraging layout linearity.
2023-03-07 06:23:09 +01:00
Héctor Ramón Jiménez
a8d55ceb82
Trim raster cache in iced_tiny_skia 2023-03-07 06:15:05 +01:00
Héctor Ramón Jiménez
5b3977daf6
Implement vector pipeline in iced_tiny_skia 2023-03-07 06:09:51 +01:00
Héctor Ramón Jiménez
bb49e17cab
Implement raster pipeline in iced_tiny_skia 2023-03-07 05:06:26 +01:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime 2023-03-05 06:35:20 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
d13d19ba35
Rename canvas::frame to canvas in iced_wgpu 2023-03-03 04:00:44 +01:00
Héctor Ramón Jiménez
bbeaf10c04
Mark Primitive as non-exhaustive in iced_graphics 2023-03-03 03:55:07 +01:00
Héctor Ramón Jiménez
868f79d22e
Reuse ClipMask in iced_tiny_skia 2023-03-02 00:40:36 +01:00
Héctor Ramón Jiménez
119cf2ecd1
Remove magic boolean in into_paint 2023-03-01 21:48:27 +01:00
Héctor Ramón Jiménez
838fd96212
Disable anti_alias for Frame::fill_rectangle in iced_tiny_skia 2023-03-01 21:47:15 +01:00
Héctor Ramón Jiménez
5c0427edbb
Fix Clip primitive translation in iced_tiny_skia 2023-03-01 21:41:32 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia 2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
fd06de5d9c
Use get_image_uncached in iced_tiny_skia
... since we are not reusing the `SwashCache`
2023-02-28 03:48:34 +01:00
Héctor Ramón Jiménez
151daf95b7
Remove unnecessary cast_slice in iced_tiny_skia 2023-02-27 16:30:54 +01:00
Héctor Ramón Jiménez
c1ff803b8f
Implement basic glyph cache in iced_tiny_skia 2023-02-27 16:28:19 +01:00
Héctor Ramón Jiménez
3105ad2e00
Remove useless f32 conversion in iced_tiny_skia 2023-02-27 03:04:05 +01:00
Héctor Ramón Jiménez
8750d83337
Short-circuit rectangle path building in iced_tiny_skia 2023-02-27 03:02:13 +01:00
Héctor Ramón Jiménez
37ce30f360
Use kurbo to approximate arcs in iced_tiny_skia 2023-02-27 02:58:02 +01:00
Héctor Ramón Jiménez
4e615a65ca
Fix clippy lints 2023-02-27 01:12:06 +01:00
Héctor Ramón Jiménez
fbb14bf9b8
Implement border_radius support for quads in iced_tiny_skia 2023-02-27 00:47:53 +01:00
Héctor Ramón Jiménez
53573cf7cf
Draw debug overlay in iced_tiny_skia 2023-02-26 23:59:00 +01:00
Héctor Ramón Jiménez
4067c427db
Fix glyphs with color mask in iced_tiny_skia 2023-02-26 23:49:58 +01:00
Héctor Ramón Jiménez
3386402f5a
Implement text alignment support in iced_tiny_skia 2023-02-26 23:44:50 +01:00
Héctor Ramón Jiménez
64fb722dfe
Draft text support in iced_tiny_skia 2023-02-26 23:40:17 +01:00
Héctor Ramón Jiménez
744f3028f4
Use Surface::buffer directly for drawing in iced_tiny_skia
... with a nice little color trick :^)
2023-02-26 00:50:25 +01:00
Héctor Ramón Jiménez
df5d66423d
Draft support for Quad and Clip primitives in iced_tiny_skia 2023-02-26 00:38:46 +01:00
Héctor Ramón Jiménez
445b31c6c5
Resize Surface::buffer instead of reallocating in iced_tiny_skia 2023-02-25 21:06:58 +01:00
Héctor Ramón Jiménez
535d7a4d57
Implement basic presentation with softbuffer for iced_tiny_skia 2023-02-25 16:05:42 +01:00
Héctor Ramón Jiménez
8c373cd497
Scaffold iced_tiny_skia and connect it to iced_renderer 2023-02-25 15:38:25 +01:00