예제 #1
0
        public void SetPixel(int x, int y, PixelData colour)
        {
            PixelData *pixel = PixelAt(x, y);

            *pixel = colour;
        }
예제 #2
0
        public Color GetPixel(int x, int y)
        {
            PixelData data = *PixelAt(x, y);

            return(Color.FromArgb(data.red, data.green, data.blue));
        }