|
Graphviz
2.31.20130618.0446
|
00001 /* $Id$ $Revision$ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /************************************************************************* 00005 * Copyright (c) 2011 AT&T Intellectual Property 00006 * All rights reserved. This program and the accompanying materials 00007 * are made available under the terms of the Eclipse Public License v1.0 00008 * which accompanies this distribution, and is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * 00011 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 00012 *************************************************************************/ 00013 00014 00015 #ifndef _PATHGEOM_INCLUDE 00016 #define _PATHGEOM_INCLUDE 00017 00018 #ifdef __cplusplus 00019 extern "C" { 00020 #endif 00021 00022 #ifdef HAVE_POINTF_S 00023 typedef struct pointf_s Ppoint_t; 00024 typedef struct pointf_s Pvector_t; 00025 #else 00026 typedef struct Pxy_t { 00027 double x, y; 00028 } Pxy_t; 00029 00030 typedef struct Pxy_t Ppoint_t; 00031 typedef struct Pxy_t Pvector_t; 00032 #endif 00033 00034 typedef struct Ppoly_t { 00035 Ppoint_t *ps; 00036 int pn; 00037 } Ppoly_t; 00038 00039 typedef Ppoly_t Ppolyline_t; 00040 00041 typedef struct Pedge_t { 00042 Ppoint_t a, b; 00043 } Pedge_t; 00044 00045 /* opaque state handle for visibility graph operations */ 00046 typedef struct vconfig_s vconfig_t; 00047 00048 void freePath(Ppolyline_t* p); 00049 #ifdef __cplusplus 00050 } 00051 #endif 00052 #endif
1.7.5