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

Create one Shadow class which can be either a Drop Shadow or an Inner Shadow based on a constructor paramerer #58

Open
dpsproservices opened this issue Mar 8, 2024 · 1 comment

Comments

@dpsproservices
Copy link

expose the "inner" boolean flag which determines whether or not the shadow is an inner shadow as is seen in the last argument of the CachedShadows class constructor, as seen in file CachedShadows.h

@sudara
Copy link
Owner

sudara commented Mar 8, 2024

What's the use case for this? It's currently designed so that DropShadow and InnerShadow are separate classes. I was thinking about an object called PathWithShadows which owns a path and a collection of drop/inner shadows, mainly so that painting becomes pathWithShadows.render() or something very succinct...

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

No branches or pull requests

2 participants