| 1 |
/************************************************************************* |
| 2 |
* Copyright (c) 2011 AT&T Intellectual Property |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* https://www.eclipse.org/legal/epl-v10.html |
| 7 |
* |
| 8 |
* Contributors: Details at https://graphviz.org |
| 9 |
*************************************************************************/ |
| 10 |
|
| 11 |
#pragma once |
| 12 |
|
| 13 |
#include "smyrnadefs.h" |
| 14 |
#include <cgraph/cgraph.h> |
| 15 |
|
| 16 |
extern int l_int(void *obj, Agsym_t * attr, int def); |
| 17 |
extern float l_float(void *obj, Agsym_t * attr, float def); |
| 18 |
extern int getAttrBool(Agraph_t* g,void* obj,char* attr_name,int def); |
| 19 |
extern int getAttrInt(Agraph_t* g,void* obj,char* attr_name,int def); |
| 20 |
extern float getAttrFloat(Agraph_t* g,void* obj,char* attr_name,float def); |
| 21 |
extern char* getAttrStr(Agraph_t* g,void* obj,char* attr_name,char* def); |
| 22 |
void getcolorfromschema(const colorschemaset sc, float l, float maxl, |
| 23 |
glCompColor *c); |
| 24 |
extern glCompPoint getPointFromStr(const char *str); |
| 25 |
extern int point_in_polygon(glCompPoly_t *selPoly, glCompPoint p); |