pencilState = new PencilState(context);
eraserState = new EraserState(context);
textState = new TextState(context);
rotationState = new RotationState(context);
expandState = new ExpandState(context);
clippingState = new ClippingState(context);
dotsState = new DotsState(context);
curState = rectState;
}