A graphics port.
A color specification.
, check for errors. By default, this is
Return the representation of
on the given graphics port
. In CLX, this is the "pixel" value, which corresponds to an index into the default colormap. It is more efficient to use the result of
in place of its argument in drawing function calls, but the penalty is the risk of erroneous colors being displayed should the colormap or the colormap entry be changed.
CAPI Reference Manual - 15 Dec 2011