aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-02-06 22:17:25 +0100
committerMattias Andrée <maandree@kth.se>2023-02-06 22:17:25 +0100
commitfc556c57184ee17863f2549986fad8fb501e379b (patch)
tree4b39dd96d8ffeb9b684e20d176eafd053d0336e8
parentdraw_linear_bezier_reference: check for random lines (diff)
downloadlibrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-fc556c57184ee17863f2549986fad8fb501e379b.tar.gz
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-fc556c57184ee17863f2549986fad8fb501e379b.tar.bz2
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-fc556c57184ee17863f2549986fad8fb501e379b.tar.xz
Fix spelling
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h6
-rw-r--r--rtgrpblib_draw_cubic_bezier.c2
-rw-r--r--rtgrpblib_draw_quadratic_bezier.c2
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)