Implemented Transform2d for LineContext