resolve the diagram convert screen coordinate into composite coordinate(
mac)