@@ -2006,7 +2006,7 @@ int roundedBoxRGBA(SDL_Surface * dst, Sint16 x1, Sint16 y1, Sint16 x2,
20062006/*!
20072007\brief Internal clip-encoding routine.
20082008
2009- Calculates a segement -based clipping encoding for a point against a rectangle.
2009+ Calculates a segment -based clipping encoding for a point against a rectangle.
20102010
20112011\param x X coordinate of point.
20122012\param y Y coordinate of point.
@@ -4196,7 +4196,7 @@ ellipseRGBA(SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry,
41964196
41974197/* ----- AA Ellipse */
41984198
4199- /* Visual Studio 2015 and above define the lrint intristic function, but for
4199+ /* Visual Studio 2015 and above define the lrint intrinsic function, but for
42004200 * compatibility with older windows compilers, we need to define it ourselves
42014201 */
42024202#if defined(_MSC_VER )
@@ -5818,11 +5818,11 @@ When set to NULL, uses global static temp array.
58185818\param vy array of x vector components
58195819\param n the amount of vectors in the vx and vy array
58205820\param texture the sdl surface to use to fill the polygon
5821- \param texture_dx the offset of the texture relative to the screeen . if you
5821+ \param texture_dx the offset of the texture relative to the screen . if you
58225822move the polygon 10 pixels to the left and want the texture to appear the same
58235823you need to increase the texture_dx value \param texture_dy see texture_dx
58245824\param polyInts preallocated temp array storage for vertex sorting (used for
5825- multi-threaded operation) \param polyAllocated flag indicating oif the temp
5825+ multi-threaded operation) \param polyAllocated flag indicating if the temp
58265826array was allocated (used for multi-threaded operation)
58275827
58285828\returns Returns 0 on success, -1 on failure.
@@ -6714,7 +6714,7 @@ int _bresenhamIterate(SDL_gfxBresenhamIterator *b)
67146714
67156715
67166716/*!
6717- \brief Internal function to to draw parallel lines with Murphy algorithm.
6717+ \brief Internal function to draw parallel lines with Murphy algorithm.
67186718
67196719\param m Pointer to struct for murphy iterator.
67206720\param x X coordinate of point.
@@ -6769,7 +6769,7 @@ void _murphyParaline(SDL_gfxMurphyIterator *m, Sint16 x, Sint16 y, int d1)
67696769}
67706770
67716771/*!
6772- \brief Internal function to to draw one iteration of the Murphy algorithm.
6772+ \brief Internal function to draw one iteration of the Murphy algorithm.
67736773
67746774\param m Pointer to struct for murphy iterator.
67756775\param miter Iteration count.
@@ -6902,7 +6902,7 @@ void _murphyIteration(SDL_gfxMurphyIterator *m, Uint8 miter,
69026902#define HYPOT (x , y ) sqrt((double)(x) * (double)(x) + (double)(y) * (double)(y))
69036903
69046904/*!
6905- \brief Internal function to to draw wide lines with Murphy algorithm.
6905+ \brief Internal function to draw wide lines with Murphy algorithm.
69066906
69076907Draws lines parallel to ideal line.
69086908
0 commit comments