Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
smyrna_utils.h
Go to the documentation of this file.
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
16extern int l_int(void *obj, Agsym_t * attr, int def);
17extern float l_float(void *obj, Agsym_t * attr, float def);
18extern int getAttrBool(Agraph_t* g,void* obj,char* attr_name,int def);
19extern int getAttrInt(Agraph_t* g,void* obj,char* attr_name,int def);
20extern float getAttrFloat(Agraph_t* g,void* obj,char* attr_name,float def);
21extern char* getAttrStr(Agraph_t* g,void* obj,char* attr_name,char* def);
22extern void getcolorfromschema(colorschemaset * sc, float l, float maxl,glCompColor * c);
23extern glCompPoint getPointFromStr(const char *str);
24extern int point_in_polygon(glCompPoly* selPoly,glCompPoint p);
abstract graph C library, Cgraph API
agxbuf * str
Definition htmlparse.c:97
float getAttrFloat(Agraph_t *g, void *obj, char *attr_name, float def)
void getcolorfromschema(colorschemaset *sc, float l, float maxl, glCompColor *c)
Definition viewport.c:553
int point_in_polygon(glCompPoly *selPoly, glCompPoint p)
int getAttrInt(Agraph_t *g, void *obj, char *attr_name, int def)
int getAttrBool(Agraph_t *g, void *obj, char *attr_name, int def)
glCompPoint getPointFromStr(const char *str)
char * getAttrStr(Agraph_t *g, void *obj, char *attr_name, char *def)
int l_int(void *obj, Agsym_t *attr, int def)
float l_float(void *obj, Agsym_t *attr, float def)
graph or subgraph
Definition cgraph.h:425
string attribute descriptor symbol in Agattr_s.dict
Definition cgraph.h:639