XieCreateCpp(3X) — Subroutines
Digital
NAME
XieCreateCpp − This routine creates an IDC (Image Domain Context) of type CPP (Control Processing Plane).
C Format
cpp = XieCreateCpp(dpy, x, y, phm_id)
C Argument Information
XieCpp cpp;
Display ∗dpy;
long x;
long y;
XiePhotomap phm_id;
RETURN VALUES
The routine returns the identifier of the CPP. You can free the CPP using the XieFreeResource routine.
PARAMETERS
dpyThe dpy argument specifies the X11 display identifier returned by the XOpenDisplay routine.
xThe x argument specifies the x-coordinate of the upper left hand corner of the CPP.
yThe y argument specifies the y-coordinate of the upper left hand corner of the CPP.
phm_idThe phm_id argument specifies the identifier of the bitonal photomap used as a control processing plane. See the XieCreatePhoto routine for more information.
DESCRIPTION
This routine creates an IDC of type CPP.
XIE Events and Error Messages
Protocol Messages: X_ieCreateByValue
XIE event returned: None
XieLib errors: Returns a null if the control processing plane is not a photomap
XieServer errors: BadAlloc -- Insufficient server resources
BadIDChoice -- Invalid identifier