Graphviz 13.0.0~dev.20241220.2304
|
#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(), 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 45 of file smyrna_utils.c.
References agattr(), AGTYPE, and l_float().
Referenced by object_color().
int getAttrInt | ( | Agraph_t * | g, |
void * | obj, | ||
char * | attr_name, | ||
int | def | ||
) |
Definition at line 39 of file smyrna_utils.c.
References agattr(), AGTYPE, and l_int().
Referenced by renderNodes().
char * getAttrStr | ( | Agraph_t * | g, |
void * | obj, | ||
char * | attr_name, | ||
char * | def | ||
) |
Definition at line 51 of file smyrna_utils.c.
References agattr(), AGTYPE, and late_string().
Referenced by object_color().
glCompPoint getPointFromStr | ( | const char * | str | ) |
Definition at line 58 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 64 of file smyrna_utils.c.
References glCompPoint::x, and glCompPoint::y.
Referenced by select_polygon().