Héctor Ramón Jiménez
53a98bf7de
Hide Storage from Primitive for type-safety
2025-09-06 20:23:31 +02:00
Héctor Ramón Jiménez
806500048d
Merge layers from top to bottom in layer::Stack
2025-08-19 05:47:36 +02:00
Héctor Ramón Jiménez
fb5ac7dcb0
Perform layer::Stack::merge before rendering
2025-08-18 20:51:57 +02:00
Héctor Ramón Jiménez
ab4fdaf91d
Consider pending geometry in wgpu::Layer
2025-08-18 20:04:55 +02:00
Héctor Ramón Jiménez
ab04751bc4
Apply Transformation::scale_factor to Quad styling
2025-08-17 09:11:19 +02:00
Héctor Ramón Jiménez
46167c78c7
Return 0 in Layer::start for empty layers
2025-08-17 00:07:58 +02:00
Héctor Ramón Jiménez
c639c185d3
Fix naive merging logic in layer::Stack
2025-08-17 00:04:45 +02:00
Héctor Ramón Jiménez
d3e9547079
Implement basic layer merging for graphics::layer::Stack
2025-08-16 23:20:43 +02:00
Héctor Ramón Jiménez
567b7d9e9f
Add crisp feature for enabling default quad snapping
2025-05-30 00:30:23 +02:00
Héctor Ramón Jiménez
613c706a39
Report layers rendered to iced_beacon
2025-04-29 23:01:45 +02:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support
2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt
2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
d4b08462e5
Introduce Svg struct in core::svg
2024-08-04 04:52:55 +02:00
Héctor Ramón Jiménez
92bd3ecd6b
Introduce Image struct in core::image
2024-08-04 04:30:12 +02:00
Héctor Ramón Jiménez
0ceee1cf3a
Implement image support for canvas widget
2024-08-04 03:28:43 +02:00
Héctor Ramón Jiménez
87a613edd1
Render text on top of images by default
2024-08-03 16:24:07 +02:00
Héctor Ramón Jiménez
fa9e1d96ea
Introduce dynamic opacity support for Image and Svg
2024-05-03 13:25:58 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals
2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
09a6bcfffc
Add Image rotation support
...
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-05-02 17:27:45 +02:00
Héctor Ramón Jiménez
6ad5bb3597
Port iced_tiny_skia to new layering architecture
2024-04-09 22:25:16 +02:00
Héctor Ramón Jiménez
d922b47815
Reintroduce support for custom primitives in iced_wgpu
2024-04-08 15:04:35 +02:00
Héctor Ramón Jiménez
13289dbd19
Merge branch 'master' into wgpu/better-architecture
2024-04-07 14:06:52 +02:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything
2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
4a356cfc16
Enable clipping and disable v-sync for now
2024-04-05 01:24:34 +02:00
Héctor Ramón Jiménez
394e599c3a
Fix layer transformations
2024-04-05 00:40:39 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture
2024-04-03 21:07:54 +02:00
Héctor Ramón Jiménez
b3adf31845
Apply Transformation to RawText primitives
2024-02-02 14:43:04 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait
2024-02-02 02:24:45 +01:00
Héctor Ramón Jiménez
a6e91d13d5
Allow only uniform scaling in Transformation
2024-02-02 01:57:03 +01:00
Héctor Ramón Jiménez
aa41d7656e
Apply Transform scaling to text primitives
2024-02-02 01:55:32 +01:00
Héctor Ramón Jiménez
5467c19c80
Replace Primitive::Translate with Transform
2024-02-02 01:53:23 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow
2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
b7b457a575
Make shadow optional in renderer::Quad
2024-01-20 12:11:18 +01:00
Nick Senger
cc906c83cd
feat: quad shadows
2024-01-20 11:59:37 +01:00
Héctor Ramón Jiménez
603832e66c
Introduce RawText to Primitive in iced_graphics
...
This should allow users to directly render a
`cosmic_text::Buffer`.
2023-12-05 02:19:17 +01:00
Héctor Ramón Jiménez
b526ce4958
Rename viewport to clip_bounds
2023-12-02 15:56:28 +01:00
Héctor Ramón Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds
2023-12-01 16:04:27 +01:00
Héctor Ramón Jiménez
ab7dae554c
Provide actual bounds to Shader primitives
...
... and allow for proper translation and scissoring.
2023-11-28 23:13:38 +01:00
Héctor Ramón Jiménez
9489e29e66
Re-organize custom module as pipeline module
...
... and move `Shader` widget to `iced_widget` crate
2023-11-14 12:49:49 +01:00
Bingus
781ef1f94c
Added support for custom shader widget for iced_wgpu backend.
2023-11-14 11:31:44 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
...
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Héctor Ramón Jiménez
6582387579
Merge branch 'master' into text-editor
2023-10-27 03:58:45 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned
2023-09-20 04:11:52 +02:00
Héctor Ramón Jiménez
6448429103
Draft Editor API and TextEditor widget
2023-09-12 14:51:00 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree
2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
fa5650cfd1
Decouple Mesh primitives from main Primitive type
2023-06-29 07:48:03 +02:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives
2023-06-29 07:18:20 +02:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
...
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.
Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.
This feature flag should facilitate application development with `iced`
in those cases.
More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
Héctor Ramón Jiménez
fe9da174ca
Move layer::quad types to quad module
...
Not sure why I split these to begin with!
2023-05-30 01:08:34 +02:00
Bingus
eb6c663420
Adjusted Quads struct to be opaque quad::Layer.
2023-05-29 12:24:35 -07:00