Performs a polynomial warp on the current image by re-sizing and warping it based on 4 bounding points within the current image.
Syntax
Visual Basic
Public Sub PWarp( _
ByVal x1 As Long, _
ByVal y1 As Long, _
ByVal x2 As Long, _
ByVal y2 As Long, _
ByVal x3 As Long, _
ByVal y3 As Long, _
ByVal x4 As Long, _
ByVal y4 As Long _
)
Parameters
x1
The x-coordinate of the first bounding point.
y1
The y-coordinate of the first bounding point.
x2
The x-coordinate of the second bounding point.
y2
The y-coordinate of the second bounding point.
x3
The x-coordinate of the third bounding point.
y3
The y-coordinate of the third bounding point.
x4
The x-coordinate of the fourth bounding point.
y4
The y-coordinate of the fourth bounding point.
Remarks
The parameters work in pairs (X1, Y1) to affix coordinates for boundary points of the area to warp the image to.