changeset 7946 | c9f6b66454a4 |
parent 7943 | 8517bbaacb7e |
child 7952 | f5613142e669 |
7945:5cbff3e57db2 | 7946:c9f6b66454a4 |
---|---|
715 { |
715 { |
716 CGPoint cgp; |
716 CGPoint cgp; |
717 |
717 |
718 *p = [ qdview convertPoint:*p toView: nil ]; |
718 *p = [ qdview convertPoint:*p toView: nil ]; |
719 *p = [ window convertBaseToScreen:*p ]; |
719 *p = [ window convertBaseToScreen:*p ]; |
720 p->y = window_height - p->y; |
720 p->y = device_height - p->y; |
721 |
721 |
722 cgp.x = p->x; |
722 cgp.x = p->x; |
723 cgp.y = p->y; |
723 cgp.y = p->y; |
724 |
724 |
725 return cgp; |
725 return cgp; |