Commit Graph
15 Commits
Author SHA1 Message Date
YohYamasaki 4285243a5d Use Arc<List<Vector>> for vector_data metadata
This exposes List's attributes to message handlers, enabling them to
access the necessary attribute data such as ATTR_STROKE_PAINT_GRAPHIC
as `Fill` and `Stroke` will not have paint information in the future.
2026-05-20 16:09:39 +09:00
YohYamasaki 1adeb4cedd WIP: Use List<Graphic> to render Color & Gradient 2026-05-20 11:17:28 +09:00
YohYamasaki 746d78364c Add color converter and debug node to use graphic 2026-05-19 16:35:18 +09:00
YohYamasaki 3fd61169ae Move opaque check function to Graphic impl 2026-05-19 16:34:23 +09:00
YohYamasaki 1802829c87 Fix comment 2026-05-19 10:57:12 +09:00
YohYamasaki 189557e150 Move svg pattern rendering function to RenderExt 2026-05-19 10:56:06 +09:00
YohYamasaki ac3f31794d Use <pattern> instead of <clipPath> for clip
This simplifies the future implementation of clipping-based rendering
for strokes, as the stroke does not support the use of a clip path but
rather paint sources from a paint server.
2026-05-19 09:50:59 +09:00
YohYamasaki a03afedab3 format code 2026-05-18 09:03:49 +09:00
YohYamasaki 42991b41ca Cleanup for Cow usage 2026-05-18 09:03:49 +09:00
YohYamasaki 28592352f2 Use Cow to avoid cloning graphic list for fill 2026-05-18 09:03:49 +09:00
YohYamasaki 7ee4117c37 Add basic clipping-based fill for SVG rendering 2026-05-18 09:03:49 +09:00
YohYamasaki bad70f7be9 Fix conflicts 2026-05-18 09:03:49 +09:00
YohYamasaki 8a2aec61e7 Refactor Vector SVG renderer for Gradient / Color 2026-05-18 09:03:49 +09:00
YohYamasaki 25358d3832 Refactor Vector vello renderer for Gradient / Color
# Conflicts:
#	node-graph/libraries/rendering/src/renderer.rs
2026-05-18 09:03:49 +09:00
YohYamasaki e192269481 Add conversion from Fill to Table<Graphic> 2026-05-18 09:03:49 +09:00