Because several students asked how to combine multiple graphics operations into one undo, a more practical combineregen function was added.
IOS Application Example (Giviewhelper *hlp)
[HLP combineregen:^{ Hlp.command = @ "line{' points ': [10,10, 20,20, 20,10, 30,20]}"; Hlp.command = @ "lines{' points ': [10, 10, 20, 20, 20, 10, 30,20]}";}];
Android Application Example (Iviewhelper hlp)
Hlp.combineregen (New Runnable () { @Override public void Run () { Hlp.setcommand ("line{' points ': [10, 10, 20,20, 20,10, 30,20]} "); Hlp.setcommand ("lines{' points ': [10,10, 20,20, 20,10, 30,20]}");} );
C # application Example (Wpfviewhelper hlp)
Hlp.combineregen (Delegate () { Hlp.command = "line{' points ': [10,10, 20,20, 20,10, 30,20]}"; Hlp.command = "lines{' points ': [10, 10, 20, 20, 20, 10, 30,20]}";});
Bulk graphics operations, merging undo