Graphviz  2.41.20171026.1811
tree_map.h
Go to the documentation of this file.
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 
19 typedef struct rectangle_struct {
20  real x[2];/* center */
21  real size[2]; /* total width/height*/
22 } rectangle;
23 
24 extern rectangle* tree_map(int n, real *area, rectangle fillrec);
25 
26 extern rectangle rectangle_new(real x, real y, real width, real height);
27 
28 #endif
struct rectangle_struct rectangle
rectangle * tree_map(int n, real *area, rectangle fillrec)
Definition: tree_map.c:100
rectangle rectangle_new(real x, real y, real width, real height)
Definition: tree_map.c:120
real size[2]
Definition: tree_map.h:21
#define real
Definition: general.h:34