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

Text Shadows #43

Closed
sudara opened this issue Dec 10, 2023 · 0 comments · Fixed by #47
Closed

Text Shadows #43

sudara opened this issue Dec 10, 2023 · 0 comments · Fixed by #47
Labels
enhancement New feature or request

Comments

@sudara
Copy link
Owner

sudara commented Dec 10, 2023

Requires a refactor to:

  • Add melatonin::ShadowedText to be held as a component member
  • Modify RenderedSingleChannelShadow to take either a path or text+bounds+justification (break out all the path logic into its own method, or consider subclassing for both path/text variants)
  • Add renderTextShadow to CachedShadow
  • Add some cache-busting for text content, dimensions, justification in CachedShadow
  • End API would look like: shadowedText.render(g, "wow", textBounds, juce::Justification::centred);
@sudara sudara added the enhancement New feature or request label Dec 10, 2023
@sudara sudara mentioned this issue Dec 11, 2023
@sudara sudara mentioned this issue Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant