Graphviz
2.41.20171026.1811
Main Page
Data Structures
Files
File List
Globals
lib
patchwork
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
rectangle
struct rectangle_struct rectangle
rectangle_struct
Definition:
tree_map.h:19
rectangle_struct::x
real x[2]
Definition:
tree_map.h:20
SparseMatrix.h
tree_map
rectangle * tree_map(int n, real *area, rectangle fillrec)
Definition:
tree_map.c:100
rectangle_new
rectangle rectangle_new(real x, real y, real width, real height)
Definition:
tree_map.c:120
rectangle_struct::size
real size[2]
Definition:
tree_map.h:21
real
#define real
Definition:
general.h:34
Generated by
1.8.5