|
Graphviz 14.0.3~dev.20251104.0241
|
#include "config.h"#include <assert.h>#include <common/geom.h>#include <common/geomprocs.h>#include <math.h>#include <stdbool.h>#include <util/unreachable.h>Go to the source code of this file.
Macros | |
| #define | SMALL 0.0000000001 |
| #define | dot(v, w) (v.x*w.x+v.y*w.y) |
Functions | |
| int | lineToBox (pointf p, pointf q, boxf b) |
| void | rect2poly (pointf *p) |
| pointf | cwrotatepf (pointf p, int cwrot) |
| pointf | ccwrotatepf (pointf p, int ccwrot) |
| boxf | flip_rec_boxf (boxf b, pointf p) |
| double | ptToLine2 (pointf a, pointf b, pointf p) |
| int | line_intersect (pointf a, pointf b, pointf c, pointf d, pointf *p) |
API geomprocs.h
Definition in file geom.c.
Definition at line 148 of file geom.c.
References exch_xyf(), perp(), UNREACHABLE, pointf_s::x, and pointf_s::y.
Referenced by compassPoint(), epsf_inside(), map_point(), point_inside(), poly_inside(), record_inside(), and star_inside().
Definition at line 130 of file geom.c.
References exch_xyf(), UNREACHABLE, pointf_s::x, and pointf_s::y.
Referenced by compassPoint(), and compassPort().
Definition at line 166 of file geom.c.
References add_pointf(), exch_xyf(), boxf::LL, and boxf::UR.
Referenced by record_path().
Definition at line 198 of file geom.c.
References dot, perp(), scale(), SMALL, and sub_pointf().
Referenced by raySegIntersect().
Definition at line 47 of file geom.c.
References BETWEEN, INSIDE, boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by overlap_bezier().
Definition at line 181 of file geom.c.
References dx, dy, SMALL, pointf_s::x, and pointf_s::y.
Referenced by check_control_points().
| void rect2poly | ( | pointf * | p | ) |
Definition at line 122 of file geom.c.
References pointf_s::x, and pointf_s::y.
Referenced by emit_map_rect(), emit_page(), map_label(), and map_point().