Table of Contents

Method GetPointPointer

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Core.dll

GetPointPointer<TPixel>(ISurface<TPixel>, int, int)

public static TPixel* GetPointPointer<TPixel>(this ISurface<TPixel> surface, int x, int y) where TPixel : unmanaged, INaturalPixelInfo

Parameters

surface ISurface<TPixel>
x int
y int

Returns

TPixel*

Type Parameters

TPixel

GetPointPointer<TPixel>(ISurface<TPixel>, Point2Int32)

public static TPixel* GetPointPointer<TPixel>(this ISurface<TPixel> surface, Point2Int32 pt) where TPixel : unmanaged, INaturalPixelInfo

Parameters

surface ISurface<TPixel>
pt Point2Int32

Returns

TPixel*

Type Parameters

TPixel