NextPrevUpTopContentsIndex

graph-pane-direction

Generic Function
Summary

Returns or sets the direction of a graph.

Package

capi

Signature

graph-pane-direction graph-pane => direction

Signature

(setf graph-pane-direction) direction graph-pane => direction

Arguments

graph-pane

A graph-pane .

Values

direction

One of :forwards or :backwards .

Description

The generic function graph-pane-direction returns the direction of the graph graph-pane. If the layout-function of graph-pane is :top-down or :left-right then direction is :forwards . Otherwise direction is :backwards .

The generic function (setf graph-pane-direction) maintains the dimension of the layout-function but potentially reverses its direction.

Example
(setf gp 
      (make-instance 'capi:graph-pane 
                     :layout-function :top-down))
=>
#<CAPI:GRAPH-PANE [0 items] 20603294>
 
(setf (capi:graph-pane-direction gp) 
      :backwards)
=>
NIL
 
(capi:graph-pane-layout-function gp)
=>
:TOP-DOWN
See also

graph-pane


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex