Method Apply
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
Apply(ColorBgra, ColorBgra)
public abstract ColorBgra Apply(ColorBgra lhs, ColorBgra rhs)
Parameters
Returns
Apply(ColorBgra*, ColorBgra*, ColorBgra*, int)
public virtual void Apply(ColorBgra* dst, ColorBgra* lhs, ColorBgra* rhs, int length)
Parameters
Apply(Surface, Point, Surface, Point, Surface, Point, Size)
Provides a default implementation for performing dst = F(lhs, rhs) over some rectangle of interest.
public void Apply(Surface dst, Point dstOffset, Surface lhs, Point lhsOffset, Surface rhs, Point rhsOffset, Size roiSize)
Parameters
dstSurfaceThe Surface to write pixels to.
dstOffsetPointThe pixel offset that defines the upper-left of the rectangle-of-interest for the dst Surface.
lhsSurfaceThe Surface to read pixels from for the lhs parameter given to the method ColorBgra Apply(ColorBgra, ColorBgra)b>.
lhsOffsetPointThe pixel offset that defines the upper-left of the rectangle-of-interest for the lhs Surface.
rhsSurfaceThe Surface to read pixels from for the rhs parameter given to the method ColorBgra Apply(ColorBgra, ColorBgra)
rhsOffsetPointThe pixel offset that defines the upper-left of the rectangle-of-interest for the rhs Surface.
roiSizeSizeThe size of the rectangles-of-interest for all Surfaces.
Apply(ColorBgra*, ColorBgra*, int)
public override void Apply(ColorBgra* dst, ColorBgra* src, int length)
Parameters
Apply(Surface, Point, Surface, Point, int)
This version of Apply will perform on a scanline, not just a rectangle.
public override void Apply(Surface dst, Point dstOffset, Surface src, Point srcOffset, int roiLength)
Parameters
Apply(Surface, Surface)
public void Apply(Surface dst, Surface src)
Parameters
Apply(ISurface<ColorBgra>, ISurface<ColorBgra>)
public void Apply(ISurface<ColorBgra> dstAndLhs, ISurface<ColorBgra> rhs)
Parameters
Apply(RegionPtr<ColorBgra>, RegionPtr<ColorBgra>)
public void Apply(RegionPtr<ColorBgra> dstAndLhs, RegionPtr<ColorBgra> rhs)
Parameters
Apply(RegionPtr<ColorBgra>, RegionPtr<ColorBgra>, RegionPtr<ColorBgra>)
public void Apply(RegionPtr<ColorBgra> dst, RegionPtr<ColorBgra> lhs, RegionPtr<ColorBgra> rhs)
Parameters
Apply(Surface, Surface, Surface)
public void Apply(Surface dst, Surface lhs, Surface rhs)
Parameters
Apply(ISurface<ColorBgra>, ISurface<ColorBgra>, ISurface<ColorBgra>)
public void Apply(ISurface<ColorBgra> dst, ISurface<ColorBgra> lhs, ISurface<ColorBgra> rhs)
Parameters
Apply(Surface, Surface, Surface, Rectangle)
public void Apply(Surface dst, Surface lhs, Surface rhs, Rectangle rect)