|
Graphviz 14.0.3~dev.20251029.0425
|
#include "smyrna_utils.h"#include <assert.h>#include <common/types.h>#include <common/utils.h>#include <limits.h>#include <stddef.h>#include <stdio.h>Go to the source code of this file.
Functions | |
| int | l_int (void *obj, Agsym_t *attr, int def) |
| float | l_float (void *obj, Agsym_t *attr, float def) |
| int | getAttrBool (Agraph_t *g, void *obj, char *attr_name, int def) |
| int | getAttrInt (Agraph_t *g, void *obj, char *attr_name, int def) |
| float | getAttrFloat (Agraph_t *g, void *obj, char *attr_name, float def) |
| char * | getAttrStr (Agraph_t *g, void *obj, char *attr_name, char *def) |
| glCompPoint | getPointFromStr (const char *str) |
| int | point_in_polygon (glCompPoly_t *selPoly, glCompPoint p) |
| int getAttrBool | ( | Agraph_t * | g, |
| void * | obj, | ||
| char * | attr_name, | ||
| int | def | ||
| ) |
Definition at line 33 of file smyrna_utils.c.
References agattr_text(), AGTYPE, and late_bool().
Referenced by pick_object(), and renderSelectedNodes().
| float getAttrFloat | ( | Agraph_t * | g, |
| void * | obj, | ||
| char * | attr_name, | ||
| float | def | ||
| ) |
Definition at line 43 of file smyrna_utils.c.
References agattr_text(), AGTYPE, and l_float().
Referenced by object_color().
| int getAttrInt | ( | Agraph_t * | g, |
| void * | obj, | ||
| char * | attr_name, | ||
| int | def | ||
| ) |
Definition at line 38 of file smyrna_utils.c.
References agattr_text(), AGTYPE, and l_int().
Referenced by renderNodes().
| char * getAttrStr | ( | Agraph_t * | g, |
| void * | obj, | ||
| char * | attr_name, | ||
| char * | def | ||
| ) |
Definition at line 48 of file smyrna_utils.c.
References agattr_text(), AGTYPE, and late_string().
Referenced by object_color().
| glCompPoint getPointFromStr | ( | const char * | str | ) |
Definition at line 54 of file smyrna_utils.c.
References str, glCompPoint::x, glCompPoint::y, and glCompPoint::z.
Referenced by edge_seg(), getEdgeHead(), getEdgeTail(), renderNodes(), and set_boundaries().
| float l_float | ( | void * | obj, |
| Agsym_t * | attr, | ||
| float | def | ||
| ) |
Definition at line 23 of file smyrna_utils.c.
References agxget().
Referenced by getAttrFloat(), and renderNodes().
| int l_int | ( | void * | obj, |
| Agsym_t * | attr, | ||
| int | def | ||
| ) |
Definition at line 18 of file smyrna_utils.c.
References late_int().
Referenced by getAttrInt(), and renderNodes().
| int point_in_polygon | ( | glCompPoly_t * | selPoly, |
| glCompPoint | p | ||
| ) |
Definition at line 60 of file smyrna_utils.c.
References LIST_GET, LIST_SIZE, glCompPoint::x, and glCompPoint::y.
Referenced by select_polygon().