// Warp the image around a parabola.
// Center point of the parabola, set to center of image.
ImGearPoint igPoint = new ImGearPoint();
igPoint.X = igRasterPage.DIB.Width / 2;
igPoint.Y = igRasterPage.DIB.Height / 2;
// Warp around the parabola with a strength of 50000, an x radius of 300, a y radius of 100,
// interpolation on, and no fill color.
ImGearEffects.WarpParabolic(igRasterPage, igPoint, 50000, 300, 100, true, null);
' Warp the image around a parabola.
' Center point of the parabola, set to center of image.
Dim igPoint As New ImGearPoint()
igPoint.X = igRasterPage.DIB.Width / 2
igPoint.Y = igRasterPage.DIB.Height / 2
' Warp around the parabola with a strength of 50000, an x radius of 300, a y radius of 100,
' interpolation on, and no fill color.
ImGearEffects.WarpParabolic(igRasterPage, igPoint, 50000, 300, 100, True, Nothing)