MCPcopy Create free account
hub / github.com/ZL-Audio/ZLEqualizer / getInnerShadowEllipseArea

Method getInnerShadowEllipseArea

source/gui/interface_definitons.cpp:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected