1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Lots of small whitespace tweaks.

This commit is contained in:
jules 2015-12-13 19:32:05 +00:00
parent 0d3afee459
commit 02492b36b9
179 changed files with 405 additions and 407 deletions

View file

@ -151,10 +151,10 @@ public:
const Rectangle<ValueType>& destination) const noexcept
{
double x = source.getX(), y = source.getY(), w = source.getWidth(), h = source.getHeight();
applyTo (x, y, w, h, static_cast <double> (destination.getX()), static_cast <double> (destination.getY()),
static_cast <double> (destination.getWidth()), static_cast <double> (destination.getHeight()));
return Rectangle<ValueType> (static_cast <ValueType> (x), static_cast <ValueType> (y),
static_cast <ValueType> (w), static_cast <ValueType> (h));
applyTo (x, y, w, h, static_cast<double> (destination.getX()), static_cast<double> (destination.getY()),
static_cast<double> (destination.getWidth()), static_cast<double> (destination.getHeight()));
return Rectangle<ValueType> (static_cast<ValueType> (x), static_cast<ValueType> (y),
static_cast<ValueType> (w), static_cast<ValueType> (h));
}
/** Returns the transform that should be applied to these source coordinates to fit them