Skip to content

ElectronScreen.screenToDipPoint method

ElectronScreen › screenToDipPoint

Unofficial

Converts a screen physical point to a screen DIP point. The DPI scale is performed relative to the display containing the physical point.

Signature:

screenToDipPoint(point: ElectronPoint): ElectronPoint

Parameters:

Parameter Type Description
point ElectronPoint The screen physical point to convert.

Returns: ElectronPointThe corresponding screen DIP point.

Platform: win32.