Just a means of reducing some typing.
Comme ça:
void Path::addEllipse (const Rectangle<float>& bounds) { addEllipse (bounds.getX(), bounds.getY(), bounds.getWidth(), bounds.getHeight()); }
Just a means of reducing some typing.
Comme ça:
void Path::addEllipse (const Rectangle<float>& bounds) { addEllipse (bounds.getX(), bounds.getY(), bounds.getWidth(), bounds.getHeight()); }
Surprised that isn't already there! Ta, will add it..