MCPcopy Create free account
hub / github.com/DISTRHO/DPF / fixBounds

Method fixBounds

dgl/src/Color.cpp:316–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314// -----------------------------------------------------------------------
315
316void Color::fixBounds() noexcept
317{
318 fixRange(red);
319 fixRange(green);
320 fixRange(blue);
321 fixRange(alpha);
322}
323
324// -----------------------------------------------------------------------
325

Callers 3

minusMethod · 0.80
plusMethod · 0.80
fromHSLMethod · 0.80

Calls 1

fixRangeFunction · 0.85

Tested by

no test coverage detected