Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Scalar multiplication and division for wx.Point and friends #971
Operating system: any
Description of the problem:
Add the missing
There's an overloading issue in SIP if we add the extra overload to WIG code. Options are to take a hit by coercing all scalar arithmetic to double precision (overal minor hit, but could potentially stack up in computationally complex drawing?)
referenced this issue
Aug 30, 2018
In particular I noticed that wx.RealPoint doesn't allow multiplication by a floating point number, which seemed particularly non-intuitive, since the actual point is already a floating point value.
Would wx.RealPoint count as a "friend" of wx.Point that could get this ability to multiply by a floating point number? That would be awesome.