Hello.
Hmm, am i right to say that the main difference between point and pointF, is that Point holds integer values for X and Y and PointF holds Floating values? =)
Printable View
Hello.
Hmm, am i right to say that the main difference between point and pointF, is that Point holds integer values for X and Y and PointF holds Floating values? =)
Isn't it obvious?
Yes, point is integer while pointF is Floating. Different methods require different arguments. Integer is faster and should be used wherever possible instead of pointF.