A[3].x = A[0].x;
A[3].y = A[2].y;
- gvrender_usershape(job, cp->src, A, 4, true);
+ gvrender_usershape(job, cp->src, A, 4, TRUE);
}
static void
* converts a graph attribute to a point.
* Returns true if the attribute ends in '!'.
*/
-static bool getdoubles2pt(graph_t * g, char *name, point * result)
+static boolean getdoubles2pt(graph_t * g, char *name, point * result)
{
char *p;
int i;
double xf, yf;
char c = '\0';
- bool rv = FALSE;
+ boolean rv = FALSE;
if ((p = agget(g, name))) {
i = sscanf(p, "%lf,%lf%c", &xf, &yf, &c);
}
}
-void graph_init(graph_t * g, bool use_rankdir)
+void graph_init(graph_t * g, boolean use_rankdir)
{
char *p;
double xf;