Nikolay Sivov : dwrite: Properly pass measuring mode to renderer.