Direct2D copy surface content scaled to another surface

  • Thread starter Thread starter Seneca LA
  • Start date Start date
S

Seneca LA

Guest
I couldn't find a solution or sample so far to this seemingly simple Direct2D problem.

I've composed some contents on a surface (A) with the usual BeginDraw() ... EndDraw() methods. Now I'd like to copy the content of A to another surface (B). The whole content of A should overwrite the whole surface B. As B has different width and height, this means the image should be scaled during the copy. No other effect is needed. The surfaces have the same DXGI_FORMAT. Can someone please help me with this? A hardware supported solution would be highly appreciated.

Many thanks in advance


Kara

Continue reading...
 
Back
Top