diagram.PIXELRATIO or diagram.computePixelRatio()

Due to the calculate of drop position, what Pixel Ratio should I use? diagram.PIXELRATIO or diagram.computePixelRatio()

Diagram.computePixelRatio normally returns the window.devicePixelRatio. There are some cases where for performance reasons the value returned is just 1.0. But for your situation it probably doesn’t make any difference.

Thank you, walter.