public static Divide ( |
||
point | Point to divide coordinates of. | |
factor | int | Division factor. |
return |
public static IntPoint Divide( IntPoint point, int factor )
{
return new IntPoint( point.X / factor, point.Y / factor );
}