Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new ThorVG example demonstrating conic gradients (ported from the existing radial gradient sample) with an interactive seam/angle inspection mode to help validate rendering quality.
Changes:
- Introduces a new
ConicGradientexample rendering multiple shapes with conic gradient fills. - Adds Space-key handling to rotate the conic gradient angle for seam inspection.
- Registers the new example source in the Meson build.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/meson.build | Adds ConicGradient.cpp to the example build sources. |
| src/ConicGradient.cpp | New conic gradient example with interactive angle adjustment via Space key. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
@Nor-s could you please update this? |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Critical compilation issues remain in the content and keyboard callback APIs.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (3)
Resolved since last review (1)
|
Could you please include a similar number of colors in the example? see: thorvg/thorvg#1216 |
@hermet I have updated. Thank you.
|
|
@Nor-s How about applying it to the center circle? |
|
|
see: #73 |
- Port the RadialGradient example to demonstrate conic gradients. - Press Space to inspect the seam and verify the rendering quality. Issue: thorvg/thorvg#4347







Issue: thorvg/thorvg#4347
Screenshot
Screen.Recording.2026-08-24.at.13.25.09.mov