I am creating an image editor with Direct2D and would like to "delete pixels" like in GIMP (when you press the delete key) which sets the pixels as transparent.
Each image uses a ID2D1BitmapRenderTarget and I use methods like FillRectangle, DrawLine... with some brushes in order to set the pixel colors.
Now I would like to set some pixels transparent, basically I would like an equivalent of this function call:
pBitmapRenderTarget->SetPixelAlpha(column, row, 0.f);