Cosmos currently has no way to draw/edit images (bitmaps for now) which have been loaded, beside direct manipulation of the array in bitmaps.
I think the best way to fix this would be to add a VirtualCanvas implementation of Canvas, which takes a Bitmap and implements the necessary methods to allow the use of the various drawing methods on it. Methods such as Display would throw NotSupportedException.
We could further also add a method to export a Canvas to an Image.
Cosmos currently has no way to draw/edit images (bitmaps for now) which have been loaded, beside direct manipulation of the array in bitmaps.
I think the best way to fix this would be to add a
VirtualCanvas
implementation ofCanvas
, which takes aBitmap
and implements the necessary methods to allow the use of the various drawing methods on it. Methods such as Display would throwNotSupportedException
.We could further also add a method to export a Canvas to an Image.