S
SS
Guest
I would like to know how to change a point in enterPath after entering
a point. I want to do this after each point is entered. In the
addPointProc call back each point should changed based on some
conditions.
Currently I enter all the points and then ? doneProc callback changes
the points in the points list.
and creates a path with modified points. However if I do it this way
the rubberband does not get the updated path points.
I would like to modify my code in such a way that if I enter the points
with left mouse key the points are modified(by some rule) but if I
enter the points with right mouse key the points remain the same.
Is is possible to set bindkeys for triggerring addpointProc callback
thanks,
Sriram
a point. I want to do this after each point is entered. In the
addPointProc call back each point should changed based on some
conditions.
Currently I enter all the points and then ? doneProc callback changes
the points in the points list.
and creates a path with modified points. However if I do it this way
the rubberband does not get the updated path points.
I would like to modify my code in such a way that if I enter the points
with left mouse key the points are modified(by some rule) but if I
enter the points with right mouse key the points remain the same.
Is is possible to set bindkeys for triggerring addpointProc callback
thanks,
Sriram