|
using System;
using System.Runtime.InteropServices;
namespace ImagePixelEnumerator.Helpers.Pixels.Indexed
{
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct PixelData8Indexed : IIndexedPixel
{
// raw component values
private Byte index;
// index methods
public Byte GetIndex(Int32 offset) { return index; }
public void SetIndex(Int32 offset, Byte value) { index = value; }
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.