// arbitrary coordinates of test point in plugin top-left origin terms
var xOffset = 5;
var yOffset = 5;
var NPCoordinateSpacePluginX = 0 + xOffset;
var NPCoordinateSpacePluginY = 0 + yOffset;
var NPCoordinateSpaceWindowX = pluginX + xOffset;
var NPCoordinateSpaceWindowY = (windowHeight - pluginY) - yOffset;
var NPCoordinateSpaceFlippedWindowX = pluginX + xOffset;
var NPCoordinateSpaceFlippedWindowY = pluginY + yOffset;
var NPCoordinateSpaceScreenX = windowX + pluginX + xOffset;
var NPCoordinateSpaceScreenY = ((screenHeight - windowY) - pluginY) - yOffset;
var NPCoordinateSpaceFlippedScreenX = windowX + pluginX + xOffset;
var NPCoordinateSpaceFlippedScreenY = windowY + pluginY + yOffset;
// these are in coordinate space enumeration order
var xValues = new Array(NPCoordinateSpacePluginX, NPCoordinateSpaceWindowX, NPCoordinateSpaceFlippedWindowX, NPCoordinateSpaceScreenX, NPCoordinateSpaceFlippedScreenX);
var yValues = new Array(NPCoordinateSpacePluginY, NPCoordinateSpaceWindowY, NPCoordinateSpaceFlippedWindowY, NPCoordinateSpaceScreenY, NPCoordinateSpaceFlippedScreenY);