annotate toolboxes/graph_visualisation/include/graphviz/pathgeom.h @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 /* $Id: pathgeom.h,v 1.4 2009/06/03 01:10:54 ellson Exp $ $Revision: 1.4 $ */
wolffd@0 2 /* vim:set shiftwidth=4 ts=8: */
wolffd@0 3
wolffd@0 4 /**********************************************************
wolffd@0 5 * This software is part of the graphviz package *
wolffd@0 6 * http://www.graphviz.org/ *
wolffd@0 7 * *
wolffd@0 8 * Copyright (c) 1994-2004 AT&T Corp. *
wolffd@0 9 * and is licensed under the *
wolffd@0 10 * Common Public License, Version 1.0 *
wolffd@0 11 * by AT&T Corp. *
wolffd@0 12 * *
wolffd@0 13 * Information and Software Systems Research *
wolffd@0 14 * AT&T Research, Florham Park NJ *
wolffd@0 15 **********************************************************/
wolffd@0 16
wolffd@0 17
wolffd@0 18 #ifndef _PATHGEOM_INCLUDE
wolffd@0 19 #define _PATHGEOM_INCLUDE
wolffd@0 20
wolffd@0 21 #ifdef __cplusplus
wolffd@0 22 extern "C" {
wolffd@0 23 #endif
wolffd@0 24
wolffd@0 25 #ifdef HAVE_POINTF_S
wolffd@0 26 typedef struct pointf_s Ppoint_t;
wolffd@0 27 typedef struct pointf_s Pvector_t;
wolffd@0 28 #else
wolffd@0 29 typedef struct Pxy_t {
wolffd@0 30 double x, y;
wolffd@0 31 } Pxy_t;
wolffd@0 32
wolffd@0 33 typedef struct Pxy_t Ppoint_t;
wolffd@0 34 typedef struct Pxy_t Pvector_t;
wolffd@0 35 #endif
wolffd@0 36
wolffd@0 37 typedef struct Ppoly_t {
wolffd@0 38 Ppoint_t *ps;
wolffd@0 39 int pn;
wolffd@0 40 } Ppoly_t;
wolffd@0 41
wolffd@0 42 typedef Ppoly_t Ppolyline_t;
wolffd@0 43
wolffd@0 44 typedef struct Pedge_t {
wolffd@0 45 Ppoint_t a, b;
wolffd@0 46 } Pedge_t;
wolffd@0 47
wolffd@0 48 /* opaque state handle for visibility graph operations */
wolffd@0 49 typedef struct vconfig_s vconfig_t;
wolffd@0 50
wolffd@0 51 #ifdef __cplusplus
wolffd@0 52 }
wolffd@0 53 #endif
wolffd@0 54 #endif