|
TouchVG framework
|
内核视图基类 更多...
#include <GcBaseView.h>

Public 成员函数 | |
| GcBaseView (MgView *mgview, GiView *view) | |
| virtual | ~GcBaseView () |
| GiView * | deviceView () |
| 返回回调视图对象 更多... | |
| MgView * | cmdView () |
| bool | isZooming () |
| bool | isZoomEnabled () const |
| void | setZoomEnabled (bool enabled) |
| void | submitBackXform () |
| 应用后端坐标系对象到前端 更多... | |
| void | copyGs (GiGraphics *gs) |
| 复制坐标系参数 更多... | |
| void | checkZoomTimes () |
| 检查放缩改变与否 更多... | |
| GiGraphics * | frontGraph () |
| 得到前端图形显示对象 更多... | |
| GiTransform * | xform () |
| 得到后端坐标系对象 更多... | |
| GiGraphics * | graph () |
| 得到后端图形显示对象 更多... | |
| virtual void | onSize (int dpi, int w, int h) |
| 设置视图的宽高 更多... | |
| virtual bool | onGesture (const MgMotion &motion) |
| 传递单指触摸手势消息 更多... | |
| virtual bool | twoFingersMove (const MgMotion &motion) |
| 传递双指移动手势(可放缩旋转) 更多... | |
| virtual void | draw (GiGraphics &gs) |
| 绘制额外的静态图形 更多... | |
| virtual void | dyndraw (GiGraphics &gs) |
| 绘制额外的动态图形 更多... | |
Private 属性 | |
| MgView * | _mgview |
| GiView * | _view |
| GiGraphics | _gsFront |
| GiGraphics | _gsBack |
| Point2d | _lastCenter |
| float | _lastScale |
| bool | _zooming |
| bool | _zoomEnabled |
| long | _zoomTimes |
内核视图基类