Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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
Loading
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.