XieMirror(3X) — Subroutines
Digital
NAME
XieMirror − This routine creates a flipped copy of an existing image.
C Format
dst_photo_id = XieMirror(src_id, x_mirror, y_mirror)
C Argument Information
XiePhoto dst_photo_id;
XiePhoto src_id;
unsigned long x_mirror;
unsigned long y_mirror;
RETURN VALUES
If the source image is an unbound photomap, the routine returns the identifier of the new photomap in the dst_photo_id argument. Otherwise, the routine returns the identifier of the photoflo to which the processing element appended. You can free the photomap using the XieFreeResource routine.
PARAMETERS
src_idThe src_id argument specifies the source image. If the source image is an unbound photomap, the operation is performed immediately. Otherwise, a processing element is appended to the specified photoflo with execution pending a call to the XieExecuteFlo routine. The photoflo is specified explicitly if the source image is a photoflo, or implicitly if the source images is a photomap or phototap.
x_mirrorThe x_mirror argument specifies whether or not the source image is flipped about the x-axis. To flip about the x-axis, set the argument to True.
y_mirrorThe y_mirror argument specifies whether or not the source image is flipped about the y-axis. To flip about the y-axis, set the argument to True.
DESCRIPTION
This routine creates a flipped copy of an existing image.
XIE Events and Error Messages
Protocol Messages: X_ieMirror
XIE event returned: XieK_ComputationEvent if immediate execution and computation events selected
XieLib errors: None
XieServer errors: BadIDChoice -- Invalid identifier
BadAlloc -- Insufficient server resources