| 190 | } |
| 191 | |
| 192 | juce::Rectangle<float> UIBase::getInnerShadowEllipseArea(juce::Rectangle<float> box_bounds, |
| 193 | const float corner_size, |
| 194 | const FillShadowEllipseArgs& margs) { |
| 195 | juce::ignoreUnused(margs); |
| 196 | const auto radius = juce::jmax(juce::roundToInt(corner_size * 1.5f), 1); |
| 197 | box_bounds = box_bounds.reduced(0.375f * static_cast<float>(radius)); |
| 198 | return box_bounds; |
| 199 | } |
| 200 | |
| 201 | juce::Rectangle<float> UIBase::drawInnerShadowEllipse(juce::Graphics& g, |
| 202 | juce::Rectangle<float> box_bounds, |
nothing calls this directly
no outgoing calls
no test coverage detected