Please use "Use Fixed Width Font" to view this text.
--- In [email protected], "S" <hypersam...@...> wrote: > > > > > > > Pardon, I still don't understand. > Why the result of "pts" flying out of the screen (2567 110 3198 522)? > Could you direct me to get the right mapping in rect0? > > > rec0: rec1: > > (1024,0)--------------. > (0,24)----------| | > | | MYrect(1234 104 1739 403) > | | | > | | | > '------------(1024,768) | > | | > | | > '-------------------(2304,1024) > > > pts = win.mappoints(rect0, rect1, MYrect) > rect0 = 0 24 1024 768 > rect1 = 1024 0 2304 1024 > MYrect = 1234 104 1739 403 > > pts = 2567 110 3198 522 >
