|
| virtual void | submitBackXform ()=0 |
| | 应用后端坐标系对象到前端 更多...
|
| |
| | GiCoreViewData () |
| |
| | ~GiCoreViewData () |
| |
| MgRecordShapes * | recorder (bool forUndo) |
| |
| void | setRecorder (bool forUndo, MgRecordShapes *p) |
| |
| int | getPlayingCount () |
| |
| long | acquireFrontDoc (int index) |
| |
| long | acquireFrontShapes (int index) |
| |
| void | addPlaying (GiPlaying *p) |
| |
| void | removePlaying (GiPlaying *p) |
| |
| virtual | ~MgView () |
| |
| long | toHandle () const |
| | 得到句柄,用于跨库转换 更多...
|
| |
| virtual GcShapeDoc * | document () const =0 |
| | 返回内核的内部文档对象 更多...
|
| |
| virtual void * | createRegenLocker ()=0 |
| | 为 MgRegenLocker 创建内部对象 更多...
|
| |
| virtual MgMotion * | motion ()=0 |
| | 返回当前动作参数 更多...
|
| |
| virtual MgCmdManager * | cmds () const =0 |
| | 返回命令管理器对象 更多...
|
| |
| virtual GiTransform * | xform () const =0 |
| | 得到坐标系对象 更多...
|
| |
| virtual MgShapeDoc * | doc () const =0 |
| | 得到可编辑的图形文档 更多...
|
| |
| virtual MgShapes * | shapes () const =0 |
| | 得到可编辑的图形列表 更多...
|
| |
| virtual GiContext * | context () const =0 |
| | 得到当前绘图属性 更多...
|
| |
| virtual Matrix2d & | modelTransform () const =0 |
| | 文档的模型变换矩阵 更多...
|
| |
| virtual MgShapeFactory * | getShapeFactory ()=0 |
| | 返回图形工厂对象 更多...
|
| |
| virtual MgShape * | createShapeCtx (int type, const GiContext *ctx=(const GiContext *) 0)=0 |
| | 根据类型号创建图形对象 更多...
|
| |
| virtual MgSnap * | getSnap ()=0 |
| | 返回图形特征点捕捉器 更多...
|
| |
| virtual MgActionDispatcher * | getAction ()=0 |
| | 返回上下文动作分发对象 更多...
|
| |
| virtual CmdSubject * | getCmdSubject ()=0 |
| | 返回命令扩展目标对象 更多...
|
| |
| virtual MgSelection * | getSelection ()=0 |
| | 返回选择集对象,可能为NULL 更多...
|
| |
| virtual bool | setCurrentShapes (MgShapes *shapes)=0 |
| | 设置当前图形列表 更多...
|
| |
| virtual bool | toSelectCommand ()=0 |
| | 取消当前命令 更多...
|
| |
| virtual int | getNewShapeID ()=0 |
| | 返回新绘图形的ID 更多...
|
| |
| virtual void | setNewShapeID (int sid)=0 |
| | 设置新绘图形的ID 更多...
|
| |
| virtual MgCommand * | getCommand ()=0 |
| | 得到当前命令 更多...
|
| |
| virtual MgCommand * | findCommand (const char *name)=0 |
| | 查找命令 更多...
|
| |
| virtual bool | setCommand (const char *name, const char *params="")=0 |
| | 启动命令 更多...
|
| |
| virtual bool | isReadOnly () const =0 |
| | 返回文档是否只读 更多...
|
| |
| virtual bool | isCommand (const char *name)=0 |
| | 当前是否为指定名称的命令 更多...
|
| |
| virtual void | regenAll (bool changed)=0 |
| | 标记视图待重新构建显示 更多...
|
| |
| virtual void | regenAppend (int sid, long playh=0)=0 |
| | 标记视图待追加显示新图形 更多...
|
| |
| virtual void | redraw (bool changed=true)=0 |
| | 标记视图待更新显示 更多...
|
| |
| virtual bool | useFinger ()=0 |
| | 使用手指或鼠标交互 更多...
|
| |
| virtual void | commandChanged ()=0 |
| | 命令改变 更多...
|
| |
| virtual void | selectionChanged ()=0 |
| | 选择集改变的通知 更多...
|
| |
| virtual void | dynamicChanged ()=0 |
| | 图形动态拖拉改变的通知 更多...
|
| |
| virtual bool | shapeWillAdded (MgShape *shape)=0 |
| | 通知将添加图形 更多...
|
| |
| virtual void | shapeAdded (MgShape *shape)=0 |
| | 通知已添加图形,由视图重新构建显示 更多...
|
| |
| virtual bool | shapeWillDeleted (const MgShape *shape)=0 |
| | 通知将删除图形 更多...
|
| |
| virtual int | removeShape (const MgShape *shape)=0 |
| | 删除图形 更多...
|
| |
| virtual bool | shapeCanRotated (const MgShape *shape)=0 |
| | 通知是否能旋转图形 更多...
|
| |
| virtual bool | shapeCanTransform (const MgShape *shape)=0 |
| | 通知是否能对图形变形 更多...
|
| |
| virtual bool | shapeCanUnlock (const MgShape *shape)=0 |
| | 通知是否能对图形解锁 更多...
|
| |
| virtual bool | shapeCanUngroup (const MgShape *shape)=0 |
| | 通知是否能对成组图形解散 更多...
|
| |
| virtual bool | shapeCanMovedHandle (const MgShape *shape, int index)=0 |
| | 通知是否能移动点 更多...
|
| |
| virtual void | shapeMoved (MgShape *shape, int segment)=0 |
| | 通知图形已拖动 更多...
|
| |
| virtual bool | shapeWillChanged (MgShape *shape, const MgShape *oldsp)=0 |
| | 通知将修改图形 更多...
|
| |
| virtual void | shapeChanged (MgShape *shape)=0 |
| | 通知已拖动图形 更多...
|
| |
| virtual bool | shapeDblClick (const MgShape *shape)=0 |
| | 通知图形双击编辑 更多...
|
| |
| virtual bool | shapeClicked (const MgShape *shape, float x, float y)=0 |
| | 图形点击的通知,返回false继续显示上下文按钮 更多...
|
| |
| virtual void | showMessage (const char *text)=0 |
| |
| virtual void | getLocalizedString (const char *name, MgStringCallback *c)=0 |
| | 得到本地化文字内容(可用封装函数 MgLocalized::getString) 更多...
|
| |
| virtual bool | isContextActionsVisible ()=0 |
| | 返回上下文菜单是否已显示 更多...
|
| |
| virtual void | hideContextActions ()=0 |
| | 隐藏上下文操作菜单 更多...
|
| |
| virtual bool | showContextActions (int selState, const int *actions, const Box2d &selbox, const MgShape *shape)=0 |
| | 显示上下文菜单(MgContextAction) 更多...
|
| |
| virtual bool | registerCommand (const char *name, MgCommand *(*creator)())=0 |
| | 注册命令 更多...
|
| |
| virtual const char * | getCommandName ()=0 |
| | 得到当前命令名称 更多...
|
| |
| virtual const char * | getOptionString (const char *name)=0 |
| | 文本选项值 更多...
|
| |
| virtual bool | getOptionBool (const char *name, bool defValue)=0 |
| | 布尔选项值 更多...
|
| |
| virtual int | getOptionInt (const char *name, int defValue)=0 |
| | 整型选项值 更多...
|
| |
| virtual float | getOptionFloat (const char *name, float defValue)=0 |
| | 浮点型选项值 更多...
|
| |
| virtual void | setOptionBool (const char *name, bool value)=0 |
| | 设置布尔选项值 更多...
|
| |
| virtual void | setOptionInt (const char *name, int value)=0 |
| | 设置整型选项值 更多...
|
| |
| virtual void | setOptionFloat (const char *name, float value)=0 |
| | 设置浮点型选项值 更多...
|
| |
| virtual void | setOptionString (const char *name, const char *text)=0 |
| | 设置文本选项值 更多...
|
| |