Fix various typos in libs/canvas

This commit is contained in:
luz paz 2022-07-01 19:58:55 -04:00 committed by Paul Davis
parent 014c6e7850
commit 36226cfd0a
5 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@ protected:
double x1 = vertices[0].x - dx;
double y1 = vertices[0].y - dy;
// Actaully create the start point from the extrapolated values.
// Actually create the start point from the extrapolated values.
Duple start (x1, y1);
// Repeat for the end control point.
@ -168,7 +168,7 @@ private:
* points spaced uniformly along the resulting Catmull-Rom curve.
*
* @param points The list of control points, leading and ending with a
* coordinate that is only used for controling the spline and is not visualized.
* coordinate that is only used for controlling the spline and is not visualized.
* @param index The index of control point p0, where p0, p1, p2, and p3 are
* used in order to create a curve between p1 and p2.
* @param points_per_segment The total number of uniformly spaced interpolated

View File

@ -81,7 +81,7 @@ public:
void attach (Item*, uint32_t upper_left_x, uint32_t upper_right_y, PackOptions row_options = PackOptions (0), PackOptions col_options = PackOptions (0), FourDimensions padding = FourDimensions (0.));
void attach_with_span (Item*, uint32_t upper_left_x, uint32_t upper_left_y, uint32_t hspan, uint32_t vspan, PackOptions row_options = PackOptions (0), PackOptions col_options = PackOptions (0), FourDimensions padding = FourDimensions (0.));
void dettach (Item*);
void detach (Item*);
void set_row_size (uint32_t row, Distance);
void set_col_size (uint32_t row, Distance);

View File

@ -46,7 +46,7 @@ Curve::Curve (Item* parent)
/** When rendering the curve, we will always draw a fixed number of straight
* line segments to span the x-axis extent of the curve. More segments:
* smoother visual rendering. Less rendering: closer to a visibily poly-line
* smoother visual rendering. Less rendering: closer to a visibly poly-line
* render.
*/
void

View File

@ -45,7 +45,7 @@ FramedCurve::FramedCurve (Item* parent)
/** When rendering the curve, we will always draw a fixed number of straight
* line segments to span the x-axis extent of the curve. More segments:
* smoother visual rendering. Less rendering: closer to a visibily poly-line
* smoother visual rendering. Less rendering: closer to a visibly poly-line
* render.
*/
void

View File

@ -345,7 +345,7 @@ Table::compute (Rect const & within)
}
if (row_homogenous) {
/* reset total height using the heighest, multiplied by the
/* reset total height using the highest, multiplied by the
number of rows, since they wll all be the same height. the
values before we do this are cumulative, and do not
(necessarily) reflect homogeneity
@ -402,7 +402,7 @@ Table::compute (Rect const & within)
* iterate. Allocate expanders the per-cell size plus the extra for
* expansion. Allocate shrinkers/default just the per-cell size.
*
* If the natural size if greated than the allocated size, find the
* If the natural size if greater than the allocated size, find the
* difference, divide it by the number of shrinking items per
* (row|col). Divide the total size by the number of (rows|cols), then
* iterate. Allocate shrinkers the per-cell size minus the excess for