mark to adapt some methods of canvas's context