You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
Requires a refactor to:
melatonin::ShadowedText
to be held as a component memberRenderedSingleChannelShadow
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)renderTextShadow
toCachedShadow
CachedShadow
shadowedText.render(g, "wow", textBounds, juce::Justification::centred);
The text was updated successfully, but these errors were encountered: