Login  Register

Re: Rectangle center rounding

Posted by Peter Uhnak on Jul 18, 2015; 8:25am
URL: https://forum.world.st/Rectangle-center-rounding-tp4837980p4838031.html

The discussion was that Rectangle is used by Morphic which uses integer coordinates so rounding is required. I think the idea was to split the two classes?

Peter

On Sat, Jul 18, 2015 at 9:50 AM, Stephan Eggermont <[hidden email]> wrote:
On 17/07/15 18:16, Jan Blizničenko wrote:
Shouldn't the rounded method be separated as for
example roundedCenter or something like that to eliminate the confusion?

I think I've seen discussions about this before and vaguely
remember the conclusion that there was too much current
code depending on it for this to be an easy change at the
moment

Stephan