D1176: Negative DPI

It is an error to specify a negative DPI while creating a rendertarget.

 

Possible Causes

An application attempted to specify a negative DPI, either through use of ID2D1RenderTarget::SetDpi or by creating a target with a negative DPI property.

Possible Fixes

Choose valid, non-negative values for DPI when creating or modifying render targets. If a default DPI is acceptable, refrain from calling SetDpi or specifying a DPI option while creating a target. Specifying a DPI of 0 is equivalent to using a default DPI.