- There is a transform on ID2D1RenderTarget. ID2D1RenderTarget::SetTransform
- The most important thing is to
Compute the bounds we will pass to FillOpacityMask (which are in Device Independent Pixels) based on DPI.
for more information, see the two examples.