Drawing and creating non-rectangular bitmaps using Direct2d – Photoshop
I need to draw parts of a bitmap (not rectangular) using Direct2D like images below. It is like how in Photoshop user can create a new layer based on the selected region (HRGN) and move it around. The closest example…