05-24-2018, 06:39 PM
Hello,
yes Cosmos does support bitmaps:
https://github.com/CosmosOS/Cosmos/blob/...nel.cs#L85
in this example we have the bitmap data on a byte array but there is a constructor that take a file path too:
https://github.com/CosmosOS/Cosmos/blob/...map.cs#L32.
Please notice that too big Bitmaps will be slow to be drawn on screen we need to optimize that part yet.
yes Cosmos does support bitmaps:
https://github.com/CosmosOS/Cosmos/blob/...nel.cs#L85
in this example we have the bitmap data on a byte array but there is a constructor that take a file path too:
https://github.com/CosmosOS/Cosmos/blob/...map.cs#L32.
Please notice that too big Bitmaps will be slow to be drawn on screen we need to optimize that part yet.