graphicsProvider: Optimize mPrintXY.