How to draw ID2D1Image with given opacity value? RRS feed

  • Question

  • ID2D1DeviceContext::DrawImage function does not accept any opacity value while ID2D1DeviceContext::DrawBitmap does. I am having an ID2D1Image* as an output of an effect. Now, I want to render the output with a different opacity value. How do I do that?
    Tuesday, June 18, 2013 6:50 AM


  • Hi, try with an ID2D1ImageBrush.
    • Marked as answer by John Rick Wednesday, June 19, 2013 6:15 PM
    Tuesday, June 18, 2013 11:19 AM