1/* $Id$Revision: */
2/* vim:set shiftwidth=4 ts=8: */
3
4/*************************************************************************
5 * Copyright (c) 2011 AT&T Intellectual Property
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *
11 * Contributors: See CVS logs. Details at http://www.graphviz.org/
12 *************************************************************************/
13
14#ifndef TREE_MAP_H
15#define TREE_MAP_H
16
17#include <SparseMatrix.h>
18
19typedef struct rectangle_struct {
20 real x[2];/* center */
21 real size[2]; /* total width/height*/
22} rectangle;
23
24extern rectangle* tree_map(int n, real *area, rectangle fillrec);
25
26extern rectangle rectangle_new(real x, real y, real width, real height);
27
28#endif
29