14 lines
318 B
C#
14 lines
318 B
C#
using System.Drawing;
|
|
|
|
namespace CdgLib
|
|
{
|
|
public class Surface
|
|
{
|
|
public int[,] RgbData = new int[GraphicsFile.FullHeight, GraphicsFile.FullWidth];
|
|
|
|
public int MapRgbColour(int red, int green, int blue)
|
|
{
|
|
return Color.FromArgb(red, green, blue).ToArgb();
|
|
}
|
|
}
|
|
} |