Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ svgpath ]] Improve drawing efficiency of svgpath widget #7241

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

livecodeian
Copy link
Contributor

This patch makes some improvements to the svgpath widget by recording the
values used to render the transformed svg path and only recomputing them when
necessary.

This patch adds support functions to the widget-utils module:
transformFromRectToRect:
   returns transform to map coords from one rectangle to another
constrainRectToRect:
   returns rectangle scaled to fit another while preserving aspect ratio
This patch makes some improvements to the svgpath widget by recording the
values used to render the transformed svg path and only recomputing them when
necessary.
This patch adds a release note for the improvement to the rendering
performance of the svgpath widget
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant