CanvasContext2DWrapperを実装