Nikolay Sivov : d2d1: SetDpi() rejects negative values too.