thorvg/src/renderer
Mira Grudzinska 30662afba7 renderer: improve radial gradient handling
This change ensures at the api level that if the focal
point lies outside the end circle, it is projected onto
the edge of the end circle.
Additionally, if the start circle does not fully fit
inside the end circle (after possible repositioning), its
radius is reduced accordingly.

The modification aligns with the SVG 1.1 standard (for fr = 0).
Cases with fr > 0 are not covered by the SVG 1.1, and edge
cases have been handled here to avoid numerical issues.

Note:
This update replaces previous behavior where gl handled
the SVG 2.0 standard.
2025-06-24 21:23:26 +09:00
..
gl_engine renderer: improve radial gradient handling 2025-06-24 21:23:26 +09:00
sw_engine renderer: improve radial gradient handling 2025-06-24 21:23:26 +09:00
wg_engine renderer: improve radial gradient handling 2025-06-24 21:23:26 +09:00
meson.build
tvgAccessor.cpp
tvgAnimation.cpp renderer: rectify the update flag once more 2025-06-18 15:49:47 +09:00
tvgAnimation.h
tvgCanvas.cpp renderer: hotfix 2025-06-18 11:05:05 +09:00
tvgCanvas.h renderer: hotfix 2025-06-18 11:05:05 +09:00
tvgCommon.h
tvgFill.cpp
tvgFill.h renderer: improve radial gradient handling 2025-06-24 21:23:26 +09:00
tvgFrameModule.h
tvgGlCanvas.cpp
tvgInitializer.cpp
tvgIteratorAccessor.h
tvgLoader.cpp
tvgLoader.h
tvgLoadModule.h
tvgPaint.cpp renderer: clean up the base render flow 2025-06-16 18:00:30 +09:00
tvgPaint.h renderer: add partial rendering support 2025-06-23 16:04:48 +09:00
tvgPicture.cpp
tvgPicture.h renderer: delegate the null data handling to engines 2025-06-17 15:54:44 +09:00
tvgRender.cpp infra: add the partial rendering build option 2025-06-23 16:04:48 +09:00
tvgRender.h infra: add the partial rendering build option 2025-06-23 16:04:48 +09:00
tvgSaveModule.h
tvgSaver.cpp
tvgScene.cpp
tvgScene.h renderer: --compiler warning 2025-06-23 17:11:47 +09:00
tvgShape.cpp
tvgShape.h api: handling values <= 0 in strokeDash() api 2025-06-24 21:02:29 +09:00
tvgSwCanvas.cpp
tvgTaskScheduler.cpp
tvgTaskScheduler.h
tvgText.cpp
tvgText.h renderer: clean up the base render flow 2025-06-16 18:00:30 +09:00
tvgWgCanvas.cpp