Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lottie: support shape modifiers - rounded corner #2267

Closed
wants to merge 3 commits into from

Conversation

mgrudzinska
Copy link
Collaborator

@mgrudzinska mgrudzinska commented May 12, 2024

Implementation of the roundness property
for a polystar. Only the corners that were
not subject to rounding by the inner or
outer roundness parameters are affected.

Implemented rounding of corners between
bezier curves that are straight lines.

@issue: #2230

before:
before_r

after (as in AE):
after_r

before:
before_p
beforep2

after:
after_p
afterp2

@mgrudzinska mgrudzinska added the lottie Lottie animation label May 12, 2024
@mgrudzinska mgrudzinska self-assigned this May 12, 2024
@mgrudzinska mgrudzinska requested a review from hermet as a code owner May 12, 2024 23:59
@hermet hermet added the enhancement Improve features label May 13, 2024
src/loaders/lottie/tvgLottieBuilder.cpp Outdated Show resolved Hide resolved
src/loaders/lottie/tvgLottieProperty.h Show resolved Hide resolved
src/loaders/lottie/tvgLottieProperty.h Outdated Show resolved Hide resolved
src/loaders/lottie/tvgLottieProperty.h Show resolved Hide resolved
@hermet hermet changed the title lottie: support rounded stars lottie: support shape modifiers - rounded corner May 14, 2024
Implementation of the roundness property
for a polystar. Only the corners that were
not subject to rounding by the inner or
outer roundness parameters are affected.

@issue: thorvg#2230
Implemented rounding of corners between
bezier curves that are straight lines.

@issue: thorvg#2230
Avoiding the sqrt call when calculating distance
by tracking the continuity of point sequences and
utilizing the previously calculated value.
@mgrudzinska mgrudzinska marked this pull request as ready for review May 14, 2024 12:38
@mgrudzinska mgrudzinska requested a review from hermet May 15, 2024 07:56
@hermet
Copy link
Member

hermet commented May 16, 2024

abandoned the lottie: optimize roundCorner()

@hermet hermet closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve features lottie Lottie animation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants