private void ConvertCoordinatesToGameUnits(ref int left, ref int top, ref int width, ref int height) { int guiScaleFactor = Factory.AGSEditor.CurrentGame.GUIScaleFactor; left /= guiScaleFactor; top /= guiScaleFactor; width /= guiScaleFactor; height /= guiScaleFactor; }