C# Class Pinta.ImageManipulation.SurfaceDiff

Datei anzeigen Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
Apply ( ISurface dst ) : void
ApplyAndSwap ( ISurface dst ) : void
Create ( ISurface original, ISurface updated_surf, bool force = false ) : SurfaceDiff
GetBounds ( ) : Rectangle

Private Methods

Method Description
ApplyAndSwap ( ISurface dst, bool swap ) : void
SurfaceDiff ( BitArray bitmask, Rectangle bounds, Pinta pixels ) : System

Method Details

Apply() public method

public Apply ( ISurface dst ) : void
dst ISurface
return void

ApplyAndSwap() public method

public ApplyAndSwap ( ISurface dst ) : void
dst ISurface
return void

Create() public static method

public static Create ( ISurface original, ISurface updated_surf, bool force = false ) : SurfaceDiff
original ISurface
updated_surf ISurface
force bool
return SurfaceDiff

GetBounds() public method

public GetBounds ( ) : Rectangle
return Rectangle