This uses the `input_samples` tool setting as a minimum distance in pixels (screen space) for newly created points. By default this is 10, which means that the points in a drawn stroke will all be at a distance of 10px or less (in screen space when the stroke is drawn).