C# Class NewTOAPIA.Graphics.PixelAccessor

Inheritance: IPixelAccessor, IColorAccessor
Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

public CalculateOffset ( int x, int y ) : int
x int
y int
Résultat int

GetColor() public méthode

public GetColor ( int x, int y ) : ColorRGBA
x int
y int
Résultat ColorRGBA

GetPixel() public méthode

public GetPixel ( int x, int y ) : IPixel
x int
y int
Résultat IPixel

GetPixelPointer() public méthode

public GetPixelPointer ( int column, int row ) : IntPtr
column int
row int
Résultat System.IntPtr

GetRowPointer() public méthode

public GetRowPointer ( int row ) : IntPtr
row int
Résultat System.IntPtr

PixelAccessor() protected méthode

protected PixelAccessor ( ) : System
Résultat System

PixelAccessor() protected méthode

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
Résultat System

PixelAccessor() protected méthode

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
Résultat System

SetColor() public méthode

public SetColor ( int x, int y, ColorRGBA color ) : void
x int
y int
color ColorRGBA
Résultat void

SetPixel() public méthode

public SetPixel ( int x, int y, IPixel pel ) : void
x int
y int
pel IPixel
Résultat void