diff options
-rw-r--r-- | librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h | 6 | ||||
-rw-r--r-- | rtgrpblib_draw_cubic_bezier.c | 2 | ||||
-rw-r--r-- | rtgrpblib_draw_quadratic_bezier.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h b/librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h index 87bdd70..dd75db3 100644 --- a/librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h +++ b/librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h @@ -100,7 +100,7 @@ void rtgrpblib_draw_linear_bezier(RTGRPBLIB_RASTER *restrict raster, double x2, double y2); /** - * Draw a quadratic bézier curve + * Draw a quadratic Bézier curve * * @param raster The drawing buffer * @param x1, y1 The starting point @@ -113,7 +113,7 @@ void rtgrpblib_draw_quadratic_bezier(RTGRPBLIB_RASTER *restrict raster, double x3, double y3); /** - * Draw a cubic bézier curve + * Draw a cubic Bézier curve * * @param raster The drawing buffer * @param x1, y1 The starting point @@ -128,7 +128,7 @@ void rtgrpblib_draw_cubic_bezier(RTGRPBLIB_RASTER *restrict raster, /* needed fo double x4, double y4); /** - * Draw a cricular arc + * Draw a circular arc * * @param raster The drawing buffer * @param x0, y0 The midpoint of the ellipse diff --git a/rtgrpblib_draw_cubic_bezier.c b/rtgrpblib_draw_cubic_bezier.c index 733e750..8e56474 100644 --- a/rtgrpblib_draw_cubic_bezier.c +++ b/rtgrpblib_draw_cubic_bezier.c @@ -109,7 +109,7 @@ rtgrpblib_draw_cubic_bezier(RASTER *restrict raster, double x1, double y1, doubl size_t i; #ifdef TODO /* untested */ - /* Can we downgrade the curve to a quadratic bézier curve? + /* Can we downgrade the curve to a quadratic Bézier curve? * * B(t) = (1-t)²Q₁ + 2(1-t)tQ₂ + t²Q₃ * B(t) = (1-t)B(t) + tB(t) = diff --git a/rtgrpblib_draw_quadratic_bezier.c b/rtgrpblib_draw_quadratic_bezier.c index dd4a484..af5607d 100644 --- a/rtgrpblib_draw_quadratic_bezier.c +++ b/rtgrpblib_draw_quadratic_bezier.c @@ -90,7 +90,7 @@ rtgrpblib_draw_quadratic_bezier(RASTER *restrict raster, double x1, double y1, size_t i; #ifdef TODO /* untested */ - /* Can we downgrade the curve to a linear bézier curve? + /* Can we downgrade the curve to a linear Bézier curve? * * (y2 - y1)/(x2 - x1) = (y3 - y2)/(x3 - x2) = (y3 - y1)/(x3 - x1) * (y2 - y1)/(x2 - x1) = (y3 - y2)/(x3 - x2) |