graphicsProvider: add an inline implementation of the plot function. Amazingly enough, this reduced the file size a bit, instead of increasing. That's why I'm keeping it, even if we don't need the added speed of having an inline function.