C# Class Pinta.ImageManipulation.Effects.WarpEffect

Inheritance: BaseEffect
Mostra file Open project: PintaProject/Pinta.ImageManipulation

Protected Properties

Property Type Description
center_offset System.Point
edge_behavior WarpEdgeBehavior
primary_color ColorBgra
quality int
secondary_color ColorBgra

Protected Methods

Method Description
InverseTransform ( TransformData &data ) : void
RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void
WarpEffect ( int quality, System.Point centerOffset, WarpEdgeBehavior edgeBehavior, ColorBgra primaryColor, ColorBgra secondaryColor ) : System

Private Methods

Method Description
IsOnSurface ( ISurface src, float u, float v ) : bool
ReflectCoord ( float value, int max ) : float

Method Details

InverseTransform() protected abstract method

protected abstract InverseTransform ( TransformData &data ) : void
data TransformData
return void

RenderLine() protected method

protected RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void
src ISurface
dst ISurface
rect Rectangle
return void

WarpEffect() protected method

protected WarpEffect ( int quality, System.Point centerOffset, WarpEdgeBehavior edgeBehavior, ColorBgra primaryColor, ColorBgra secondaryColor ) : System
quality int
centerOffset System.Point
edgeBehavior WarpEdgeBehavior
primaryColor ColorBgra
secondaryColor ColorBgra
return System

Property Details

center_offset protected_oe property

protected Point,System center_offset
return System.Point

edge_behavior protected_oe property

protected WarpEdgeBehavior edge_behavior
return WarpEdgeBehavior

primary_color protected_oe property

protected ColorBgra primary_color
return ColorBgra

quality protected_oe property

protected int quality
return int

secondary_color protected_oe property

protected ColorBgra secondary_color
return ColorBgra