39    wxASSERT_MSG( 
IsRotateToolEvt( aEvent ), wxT( 
"Expected rotation event" ) );
 
   42    const int angleMultiplier = aEvent.
Parameter<
int>();
 
   44    wxASSERT_MSG( angleMultiplier == 1 || angleMultiplier == -1, 
"Expected 1 or -1" );
 
   46    return angleMultiplier > 0 ? rotAngle : -rotAngle;
 
 
static TOOL_ACTION rotateCw
Rotation of selected objects.
 
static TOOL_ACTION rotateCcw
 
Common, abstract interface for edit frames.
 
virtual EDA_ANGLE GetRotationAngle() const
Return the angle used for rotate operations.