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

            *pixel = colour;
        }
Example #2
0
        public PixelData GetPixel(float x, float y)
        {
            PixelData returnValue = *PixelAt((int)x, (int)y);

            return(returnValue);
        }