mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
26 lines
554 B
C#
26 lines
554 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.System.Graphics
|
|
{
|
|
public abstract class Image
|
|
{
|
|
public int[] rawData;
|
|
public readonly uint width;
|
|
public readonly uint height;
|
|
public readonly ColorDepth depth;
|
|
|
|
protected Image(uint Width, uint Height, ColorDepth Color)
|
|
{
|
|
width = Width;
|
|
height = Height;
|
|
depth = Color;
|
|
}
|
|
}
|
|
|
|
public enum ImageFormat
|
|
{
|
|
bmp
|
|
} //Add more as more are supported
|
|
}
|