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

Render() protected method

Performs the actual work of rendering an effect. This overload represent a single pixel of the image.
protected Render ( ColorBgra color ) : ColorBgra
color ColorBgra The color of the source surface pixel.
return ColorBgra
		protected virtual ColorBgra Render (ColorBgra color)
		{
			return color;
		}

Same methods

BaseEffect::Render ( ColorBgra src, ColorBgra dst, int length ) : void
BaseEffect::Render ( ISurface surface ) : void
BaseEffect::Render ( ISurface src, ISurface dst ) : void
BaseEffect::Render ( ISurface src, ISurface dst, Rectangle roi ) : void
BaseEffect::Render ( ISurface surface, Rectangle roi ) : void

Usage Example

Exemplo n.º 1
0
        public static void Render(this BaseEffect effect, Bitmap source)
        {
            var wrapper = new BitmapWrapper(source);

            effect.Render(wrapper);
        }