supporting different parameter types for methods accepting points
documented CPoint class