Graphviz  2.39.20141220.0545
pathgeom.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 
15 #ifndef _PATHGEOM_INCLUDE
16 #define _PATHGEOM_INCLUDE
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #ifdef HAVE_POINTF_S
23  typedef struct pointf_s Ppoint_t;
24  typedef struct pointf_s Pvector_t;
25 #else
26  typedef struct Pxy_t {
27  double x, y;
28  } Pxy_t;
29 
30  typedef struct Pxy_t Ppoint_t;
31  typedef struct Pxy_t Pvector_t;
32 #endif
33 
34  typedef struct Ppoly_t {
36  int pn;
37  } Ppoly_t;
38 
40 
41  typedef struct Pedge_t {
43  } Pedge_t;
44 
45 /* opaque state handle for visibility graph operations */
46  typedef struct vconfig_s vconfig_t;
47 
48  void freePath(Ppolyline_t* p);
49 #ifdef __cplusplus
50 }
51 #endif
52 #endif
int pn
Definition: pathgeom.h:36
double x
Definition: pathgeom.h:27
Definition: geom.h:30
Ppoly_t Ppolyline_t
Definition: pathgeom.h:39
Ppoint_t b
Definition: pathgeom.h:42
struct Ppoly_t Ppoly_t
struct Pxy_t Pxy_t
Ppoint_t * ps
Definition: pathgeom.h:35
Ppoint_t a
Definition: pathgeom.h:42
void freePath(Ppolyline_t *p)
Definition: util.c:37
Definition: pathgeom.h:26
double y
Definition: pathgeom.h:27
struct Pedge_t Pedge_t
Definition: vis.h:38