How to force screen-snip size ratio. PyQt5
问题 I want to modify Screen-Snip code from GitHub/harupy/snipping-tool so that every screen-snip has a ratio of 3 x 2. (I will save as 600 x 400 px image later) I'm not sure how to modify self.end dynamically so that the user clicks and drags with a 3 x 2 ratio. The mouse position will define the x coordinate, and the y coordinate will be int(x * 2/3) Any suggestions on how to do this? I promise I've been researching this, and I just can't seem to "crack the code" of modifying only the y