TouchVG framework
MgCmdManagerImpl
_cmdname
_cmds
_drawcmd
_factories
_guildpt
_ignoreStart
_newShapeID
_ptSnap
_snapBase
_snapHandle
_snapHandleSrc
_snapShapeId
_snapType
_startpt
_subject
addImageShape
addImageShape
cancel
checkResult
clearSnap
CMDS
displayMmToModel
displayMmToModel
doAction
doContextAction
drawPerpMark
drawPerpMark
drawSnap
dynamicChangeEnded
eraseWnd
Factories
findCommand
freeSubject
getActionDispatcher
getBoundingBox
getCmdSubject
getCommand
getCommandName
getCommandName
getNewShapeID
getSelection
getSelection
getSelectionForChange
getSnap
getSnapOptions
getSnappedHandle
getSnappedPoint
getSnappedPoint
getSnappedType
MgCmdManagerImpl
registerCommand
release
setCommand
setIgnoreStartPoint
setNewShapeID
setSnapOptions
showInDrawing
showInSelect
snapPoint
switchCommand
unloadCommands
~MgCmdManagerImpl
◆
getSelection()
[1/2]
int MgCmdManagerImpl::getSelection
(
MgView
*
view
,
int
count
,
const
MgShape
**
shapes
)
private
virtual
得到当前选择的图形
参数
view
当前操作的视图
count
最多获取多少个图形,为0时返回实际个数
shapes
填充当前选择的图形对象
返回
获取多少个图形,或实际个数
实现了
MgCmdManager
.
函数调用图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证