Public Member Functions | |
| RasterImage (int w, int h) | |
| Construct a RasterImage. | |
| RasterImage () | |
| Construct a RasterImage. | |
| override void | AllocatePixelData (int w, int h) |
| Allocate pixel data buffer. | |
| override object | GetPixelData (int layer) |
| Pixel data buffer. | |
Protected Attributes | |
| T[,] | mImage = null |
| RasterImage pixel data. | |
Properties | |
| override Pixel.Type | PixelFormat [get] |
| Image pixel format. | |
| override IColor | this [int layer, int x, int y] [get, set] |
| Pixel data accessor. | |
Raster image.
A RasterImage allow to store and process pixel data. The image is composed by a rectangle of pixels, which format determine the pixel size.
| T | : | IColor | |
| T | : | new() |
| Derm.Raster.RasterImage< T >.RasterImage | ( | ) |
Construct a RasterImage.
| Derm.Raster.RasterImage< T >.RasterImage | ( | int | w, | |
| int | h | |||
| ) |
Construct a RasterImage.
| w | A System.Int32 specifying the image width, in pixels. | |
| h | A System.Int32 specifying the image height, in pixels. |
| override void Derm.Raster.RasterImage< T >.AllocatePixelData | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Allocate pixel data buffer.
| w | A System.Int32 | |
| h | A System.Int32 |
Implements Derm.Raster.Image.
| override object Derm.Raster.RasterImage< T >.GetPixelData | ( | int | layer | ) | [virtual] |
Pixel data buffer.
Implements Derm.Raster.Image.
T [,] Derm.Raster.RasterImage< T >.mImage = null [protected] |
RasterImage pixel data.
override Pixel.Type Derm.Raster.RasterImage< T >.PixelFormat [get] |
Image pixel format.
Reimplemented from Derm.Raster.Image.
override IColor Derm.Raster.RasterImage< T >.this[int layer, int x, int y] [get, set] |
Pixel data accessor.
| layer | A System.Int32 indicating the layer to fetch pixel data. | |
| x | A System.Int32 indicating the horizontal coordinate of the pixel. The left corners has the coordinate 0. | |
| y | A System.Int32 indicating the vertical coordinate of the pixel. The bottom corners has the coordinate 0. |
Reimplemented from Derm.Raster.Image.