Graphviz 13.0.0~dev.20241220.2304
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);
22void getcolorfromschema(const colorschemaset sc, float l, float maxl,
23 glCompColor *c);
24extern glCompPoint getPointFromStr(const char *str);
25extern int point_in_polygon(glCompPoly_t *selPoly, glCompPoint p);
abstract graph C library, Cgraph API
textitem scanner parser str
Definition htmlparse.y:224
float getAttrFloat(Agraph_t *g, void *obj, char *attr_name, float def)
void getcolorfromschema(const colorschemaset sc, float l, float maxl, glCompColor *c)
Definition viewport.c:550
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)
int point_in_polygon(glCompPoly_t *selPoly, glCompPoint p)
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:637