now C99 `bool`s instead of Graphviz-specific `boolean`s.
- **Breaking**: The `filled`, `landscape`, and `centered` fields of the
`layout_t` struct are now C99 `bool`s instead of Graphviz-specific `boolean`s.
+- **Breaking**: The `has_images` field of the `Agraphinfo_t` struct is now a
+ C99 `bool` instead of a Graphviz-specific `boolean`.
- **Breaking**: Graphviz headers no longer define the constant `MAXSHORT`. A
drop-in replacement is `SHRT_MAX` in the C standard library’s limits.h.
- **Breaking**: Graphviz headers no lnger define `NIL` macros. A drop-in
agerr(AGERR, "No or improper image file=\"%s\"\n", img->src);
} else {
rv = 0;
- GD_has_images(env->g) = TRUE;
+ GD_has_images(env->g) = true;
}
B2BF(b, img->box);
sfile ? sfile : "<nil>", agnameof(n));
imagesize.x = imagesize.y = 0;
} else {
- GD_has_images(agraphof(n)) = TRUE;
+ GD_has_images(agraphof(n)) = true;
imagesize.x += 2; /* some fixed padding */
imagesize.y += 2;
}
sfile ? sfile : "<nil>", agnameof(n));
imagesize.x = imagesize.y = 0;
} else {
- GD_has_images(agraphof(n)) = TRUE;
+ GD_has_images(agraphof(n)) = true;
imagesize.x += 2; /* some fixed padding */
imagesize.y += 2;
}
pointf border[4]; /* sizes of margins for graph labels */
unsigned char gui_state; /* Graph state for GUI ops */
unsigned char has_labels;
- boolean has_images;
+ bool has_images;
unsigned char charset; /* input character set */
int rankdir;
double ht1; /* below and above extremal ranks */