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

🎭 Masks #221

Merged
merged 14 commits into from
Mar 8, 2022
Merged

🎭 Masks #221

merged 14 commits into from
Mar 8, 2022

Conversation

wcandillon
Copy link
Contributor

@wcandillon wcandillon commented Mar 3, 2022

The recipe was taken from the SVG implementation:
https://github.com/google/skia/blob/main/modules/svg/src/SkSVGRenderContext.cpp#L349
https://github.com/google/skia/blob/main/modules/svg/src/SkSVGMask.cpp

  • Factorize into single component
  • Document
  • Offer different mask type? (In SVG luminance is used & Figma alpha is used in figma)

@wcandillon wcandillon requested a review from chrfalch March 3, 2022 21:37
@wcandillon wcandillon self-assigned this Mar 3, 2022
@wcandillon wcandillon changed the title Implement Masking Implement SVG & Figma Masking Mar 3, 2022
@wcandillon wcandillon changed the title Implement SVG & Figma Masking Masks Mar 4, 2022
@wcandillon wcandillon changed the title Masks 🎭 Masks Mar 4, 2022
@wcandillon wcandillon marked this pull request as ready for review March 4, 2022 10:58
@wcandillon
Copy link
Contributor Author

Ready for review 😎

Copy link
Contributor

@chrfalch chrfalch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Added a small suggestion for the documentation

docs/docs/mask.md Outdated Show resolved Hide resolved
@wcandillon wcandillon requested a review from chrfalch March 8, 2022 11:54
@wcandillon
Copy link
Contributor Author

Implemented review comments

@wcandillon wcandillon merged commit 282629a into main Mar 8, 2022
@wcandillon wcandillon deleted the feat/mask branch March 14, 2022 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants