protected override void ProcessFilter(UnmanagedImage image)
{
// mark all rectangular regions
foreach (Rectangle rectangle in rectangles)
{
Drawing.Rectangle(image, rectangle, markerColor);
if (fillColor != Color.Transparent)
Drawing.FillRectangle(image, rectangle, fillColor);
}
}
}