C# Class Pinta.Core.IrregularSurface

Inheritance: ISurfaceDraw, IDisposable, ICloneable, IDeserializationCallback
显示文件 Open project: xxgreg/Pinta Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Clones the IrregularSurface.

Dispose ( ) : void
Draw ( Cairo dst ) : void

Draws the IrregularSurface on to the given Surface.

Draw ( Cairo dst, PixelOp pixelOp ) : void
Draw ( Cairo dst, int tX, int tY ) : void

Draws the IrregularSurface on to the given Surface starting at the given (x,y) offset.

Draw ( Cairo dst, int tX, int tY, PixelOp pixelOp ) : void
IrregularSurface ( Cairo source, Gdk.Rectangle roi ) : System
IrregularSurface ( Cairo source, Region roi ) : System

Constructs an IrregularSurface by copying the given region-of-interest from an Image.

OnDeserialization ( object sender ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
IrregularSurface ( IrregularSurface cloneMe ) : System

Method Details

Clone() public method

Clones the IrregularSurface.
public Clone ( ) : object
return object

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

Draws the IrregularSurface on to the given Surface.
public Draw ( Cairo dst ) : void
dst Cairo The Surface to draw to.
return void

Draw() public method

public Draw ( Cairo dst, PixelOp pixelOp ) : void
dst Cairo
pixelOp PixelOp
return void

Draw() public method

Draws the IrregularSurface on to the given Surface starting at the given (x,y) offset.
public Draw ( Cairo dst, int tX, int tY ) : void
dst Cairo
tX int
tY int
return void

Draw() public method

public Draw ( Cairo dst, int tX, int tY, PixelOp pixelOp ) : void
dst Cairo
tX int
tY int
pixelOp PixelOp
return void

IrregularSurface() public method

public IrregularSurface ( Cairo source, Gdk.Rectangle roi ) : System
source Cairo
roi Gdk.Rectangle
return System

IrregularSurface() public method

Constructs an IrregularSurface by copying the given region-of-interest from an Image.
public IrregularSurface ( Cairo source, Region roi ) : System
source Cairo The Surface to copy pixels from.
roi Region Defines the Region from which to copy pixels from the Image.
return System

OnDeserialization() public method

public OnDeserialization ( object sender ) : void
sender object
return void