I have created a bitmap brush using an image. I have used the bitmap brush to draw a rect using
m_pRenderTarget->DrawRectangle(&rcBrushRect, m_pStitchBitmapBrush, 10, NULL);
and of course the results are not what I want. The image looks like it's being repeated many times on top of itself.
So can Direct2d do this task or do I have to break down the shape's segments and draw the image itself? (yuk)
If someone knows of an example I would appreciate it.
Thanks