Pinta.ImageManipulation.BaseEffect.RenderLine C# (CSharp) Method

RenderLine() protected method

Performs the actual work of rendering an effect. Do not call base.Render ().
protected RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface The source surface. DO NOT MODIFY.
dst ISurface The destination surface.
roi Rectangle A rectangle of interest (roi) specifying the area to modify. Only these areas should be modified
return void
		protected unsafe virtual void RenderLine (ISurface src, ISurface dst, Rectangle roi)
		{
			var srcPtr = src.GetPointAddress (roi.X, roi.Y);
			var dstPtr = dst.GetPointAddress (roi.X, roi.Y);
			Render (srcPtr, dstPtr, roi.Width);
		}