|
Graphviz 14.1.3~dev.20260126.0926
|
#include "config.h"#include <assert.h>#include <common/render.h>#include <limits.h>#include <math.h>#include <pathplan/pathplan.h>#include <stdbool.h>#include <util/alloc.h>#include <util/list.h>Go to the source code of this file.
Data Structures | |
| struct | ellipse_t |
Macros | |
| #define | TWOPI (2 * M_PI) |
Typedefs | |
| typedef double | erray_t[2][4][4] |
Functions | |
| static void | initEllipse (ellipse_t *ep, double cx, double cy, double a, double b, double lambda1, double lambda2) |
| static double | RationalFunction (double x, const double *c) |
| static double | estimateError (ellipse_t *ep, double etaA, double etaB) |
| typedef | LIST (pointf) |
| static void | curveTo (bezier_path_t *polypath, double x1, double y1, double x2, double y2, double x3, double y3) |
| static void | lineTo (bezier_path_t *polypath, double x, double y) |
| static void | endPath (bezier_path_t *polypath) |
| static Ppolyline_t * | genEllipticPath (ellipse_t *ep) |
| Ppolyline_t * | ellipticWedge (pointf ctr, double xsemi, double ysemi, double angle0, double angle1) |
Variables | |
| static const erray_t | coeffs3Low |
| static const erray_t | coeffs3High |
| static const double | safety3 [] = {0.001, 4.98, 0.207, 0.0067} |
|
static |
Definition at line 173 of file ellipse.c.
References LIST_APPEND.
Referenced by genEllipticPath(), and lineTo().
| Ppolyline_t * ellipticWedge | ( | pointf | ctr, |
| double | xsemi, | ||
| double | ysemi, | ||
| double | angle0, | ||
| double | angle1 | ||
| ) |
Definition at line 274 of file ellipse.c.
References genEllipticPath(), initEllipse(), pointf_s::x, and pointf_s::y.
Referenced by draw_ortho_corner_markers(), and wedgedEllipse().
|
static |
Definition at line 185 of file ellipse.c.
References lineTo(), LIST_GET, pointf_s::x, and pointf_s::y.
Referenced by find_longest_path(), and genEllipticPath().
|
static |
Definition at line 137 of file ellipse.c.
References ellipse_t::a, ellipse_t::b, coeffs3High, coeffs3Low, RationalFunction(), and safety3.
Referenced by genEllipticPath().
|
static |
Definition at line 195 of file ellipse.c.
References ellipse_t::a, alpha, ellipse_t::b, curveTo(), ellipse_t::cx, ellipse_t::cy, endPath(), estimateError(), ellipse_t::eta1, ellipse_t::eta2, gv_alloc(), lineTo(), LIST_DETACH, M_PI, Ppoly_t::pn, and Ppoly_t::ps.
Referenced by ellipticWedge().
|
static |
Definition at line 72 of file ellipse.c.
References ellipse_t::a, ellipse_t::b, ellipse_t::cx, ellipse_t::cy, ellipse_t::eta1, ellipse_t::eta2, M_PI, and TWOPI.
Referenced by ellipticWedge().
|
static |
Definition at line 180 of file ellipse.c.
References curveTo(), LIST_GET, LIST_SIZE, pointf_s::x, and pointf_s::y.
Referenced by endPath(), and genEllipticPath().
| typedef LIST | ( | pointf | ) |
Definition at line 162 of file ellipse.c.
References LIST_APPEND.
|
static |
Definition at line 128 of file ellipse.c.
Referenced by estimateError().
|
static |
Definition at line 110 of file ellipse.c.
Referenced by estimateError().
|
static |
Definition at line 97 of file ellipse.c.
Referenced by estimateError().
|
static |
Definition at line 122 of file ellipse.c.
Referenced by estimateError().