From fc556c57184ee17863f2549986fad8fb501e379b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 6 Feb 2023 22:17:25 +0100 Subject: Fix spelling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h | 6 +++--- rtgrpblib_draw_cubic_bezier.c | 2 +- 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) -- cgit v1.2.3-70-g09d2