Nice; a way to also show the actual wrapping code would be nice.
I am assuming c is set to a canvas element and x is set to the context, but I can't find actual information on this.