C# Class NewTOAPIA.Graphics.PixelAccessor

Inheritance: IPixelAccessor, IColorAccessor
Exibir arquivo Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
CalculateOffset ( int x, int y ) : int
GetColor ( int x, int y ) : ColorRGBA
GetPixel ( int x, int y ) : IPixel
GetPixelPointer ( int column, int row ) : IntPtr
GetRowPointer ( int row ) : IntPtr
SetColor ( int x, int y, ColorRGBA color ) : void
SetPixel ( int x, int y, IPixel pel ) : void

Protected Methods

Method Description
PixelAccessor ( ) : System
PixelAccessor ( int width, int height, IPixelInformation pixelInfo, int bytesPerRow, PixmapOrientation orientation, IntPtr pixelPointer ) : System
PixelAccessor ( int width, int height, PixelLayout layout, PixelComponentType pType, PixmapOrientation orientation, IntPtr pixelPointer ) : System

Method Details

CalculateOffset() public method

public CalculateOffset ( int x, int y ) : int
x int
y int
return int

GetColor() public method

public GetColor ( int x, int y ) : ColorRGBA
x int
y int
return ColorRGBA

GetPixel() public method

public GetPixel ( int x, int y ) : IPixel
x int
y int
return IPixel

GetPixelPointer() public method

public GetPixelPointer ( int column, int row ) : IntPtr
column int
row int
return System.IntPtr

GetRowPointer() public method

public GetRowPointer ( int row ) : IntPtr
row int
return System.IntPtr

PixelAccessor() protected method

protected PixelAccessor ( ) : System
return System

PixelAccessor() protected method

protected PixelAccessor ( int width, int height, IPixelInformation pixelInfo, int bytesPerRow, PixmapOrientation orientation, IntPtr pixelPointer ) : System
width int
height int
pixelInfo IPixelInformation
bytesPerRow int
orientation PixmapOrientation
pixelPointer System.IntPtr
return System

PixelAccessor() protected method

protected PixelAccessor ( int width, int height, PixelLayout layout, PixelComponentType pType, PixmapOrientation orientation, IntPtr pixelPointer ) : System
width int
height int
layout PixelLayout
pType PixelComponentType
orientation PixmapOrientation
pixelPointer System.IntPtr
return System

SetColor() public method

public SetColor ( int x, int y, ColorRGBA color ) : void
x int
y int
color ColorRGBA
return void

SetPixel() public method

public SetPixel ( int x, int y, IPixel pel ) : void
x int
y int
pel IPixel
return void