next up previous contents index
Next: Layout Interface for Graph Up: Layout Interfaces Previous: Interface to PostScript (   Contents   Index


Layout Buffers ( LayoutBuffer )

Baseclasses


\begin{picture}(6.5,2.5)
\thicklines
\put(0,1.5){\framebox (5,1){\bf LayoutInt...
...\vector(0,-1){1}}\put(1.5,0){\framebox (5,1){\bf LayoutBuffer}}
\end{picture}

Definition

A layout buffer for graph G is a layout interface that stores the following graphical attributes for graph G:

The class LayoutBuffer overrides the pure virtual methods of LayoutInterface for setting and getting these attributes. The methods set_width(), get_width(), set_height(), and get_height() must be overridden by derived classes. Layout buffers are mainly used as base class for GraphCopyLI and AGDLayout.

#include < AGD/LayoutBuffer.h >

Initialization

LayoutBuffer A(const leda_graph& G) initializes a layout buffer for graph G.

LayoutBuffer A(const LayoutBuffer& lb) copy constructor.

Operations

LayoutBuffer inherits the operations from its base class LayoutInterface (see Sect. Layout Interfaces)


next up previous contents index
Next: Layout Interface for Graph Up: Layout Interfaces Previous: Interface to PostScript (   Contents   Index

© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13