supporting non-pixelcoordinates