Hi!
I am trying to fill a rounded rectangle with a bitmap but I dont get it work.
I have created a D2DBitmapBrush, all works good
I have created a D2DRoundedRect, all works good
Now I need to position the brush so it fits into rectangle.
Anyone can help out if this is the best way of filling an rounded rectangle and how I position it best?
Hi!
I am trying to fill a rounded rectangle with a bitmap but I dont get it work.
I have created a D2DBitmapBrush, all works good
I have created a D2DRoundedRect, all works good
Now I need to position the brush so it fits into rectangle.
Anyone can help out if this is the best way of filling an rounded rectangle and how I position it best?