From: Allan Schaffer (allan++at++southpark.engr.sgi.com)
Date: 06/28/2000 09:30:10
On Jun 28, 6:36am, dimi christop wrote:
> normaly the channels are rendered in a window in the same sequence
> they were created. Is there a way to specify that a channel that was
> created last to be rendered first.
> I need this because I want the last channel created not to be seen,
> but to be occluded by the first ones, and I can not create it first.
My first impression was that channel ordering is fixed and that the
pipewindow always renders channels in the order they were created.
But having a look through the pfChannel manpage I see you do have
some flexibility:
Channels of a pfPipeWindow are drawn in the order in which
they are assigned to the pfPipeWindow. pfGetChanPWinIndex
can be used to get the position of a channel in its
pfPipeWindow list. A return value of (-1) indicates that
the channel is not assigned to a pfPipeWindow. Channels
can be re-ordered in their pfPipeWindow, or moved to other
pfPipeWindows via list style API on pfPipeWindows. See
the pfAddChan, pfInsertChan, pfMoveChan, and pfRemoveChan
man pages for more information.
Allan
-- Allan Schaffer allan++at++sgi.com Silicon Graphics http://reality.sgi.com/allan
This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:30:15 PDT