|
flip
|
|
|
|
| Input
|
|
|
| An integer between 0 and 116 specifying the input image frame number. A value of 0 represents the DMA memory buffer of the video device. Values in the range of 100-116 correspond to hidden frames.
|
|
|
| Output
|
|
|
| An integer between 1 and 116 specifying the output image frame number. Values in the range of 100-116 correspond to hidden frames.
|
|
|
| Mode
|
|
|
| An optional enumerated integer that describes the flipping mode to use. Must be one of the following values:
|
|
|
| M_HORZ=0 reverse the input image horizontally.
|
| M_VERT=1 reverse the input image vertically.
|
| Default value: M_HORZ
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
| This set of statements will continuously grab an image and display it in a frame #1 in the horizontally reversed position:
|
|
|
| do
|
| grabim (0)
|
| flip (0, 1)
|
| loop while getError()=ERR_OK
|