Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix
Get coordinate difference between mouse positions from a clicked position. Code: ============================================ Get coordinate difference between mouse positions from the position of the center of a rectangle drawed by using the mouse position, when the mouse is pressed, as top left corner, and the mouse position, when the mouse is released, as bottom right corner.
|