public Apply ( |
||
surface | ||
roi | ||
startIndex | int | |
length | int | |
return | void |
public void Apply(FastBitmap surface, Rectangle[] roi, int startIndex, int length)
{
Rectangle regionBounds = Utility.GetRegionBounds (roi, startIndex, length);
if (regionBounds != Rectangle.Intersect (surface.GetBounds (), regionBounds))
throw new ArgumentOutOfRangeException ("roi", "Region is out of bounds");
unsafe {
for (int x = startIndex; x < startIndex + length; ++x)
ApplyRectangle (surface, roi[x]);
}
}
UnaryPixelOp::Apply ( |
|
UnaryPixelOp::Apply ( |
|
UnaryPixelOp::Apply ( |
|
UnaryPixelOp::Apply ( |
|
UnaryPixelOp::Apply ( |
|
UnaryPixelOp::Apply ( |