map view's position to screen coordinate More...
#include "ZFUIView.h"Go to the source code of this file.
Functions | |
| ZFUIPoint | ZFUIViewPositionMap (ZFUIView *view, const ZFUIPoint &localPos=(ZFUIPointZero())) |
| map view's position to screen coordinate | |
| ZFUIRect | ZFUIViewPositionOnScreen (ZFUIView *view) |
| util to ZFUIViewPositionMap to calculate view's position on screen | |
map view's position to screen coordinate
|
extern |
map view's position to screen coordinate
the localPos is relative to view's left top origin, without applying view's scale/translate/rotate
util to ZFUIViewPositionMap to calculate view's position on screen
note the view must not have scale or rotation, or the result may be invalid