From 79083c10636c1b4d3b4c19cbd2031bc4f4725642 Mon Sep 17 00:00:00 2001 From: katrielester Date: Wed, 24 Feb 2021 16:48:54 +0100 Subject: [PATCH 1/3] Typo fix --- doc/sphinxext/missing_references.py | 2 +- tutorials/intermediate/autoscale.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinxext/missing_references.py b/doc/sphinxext/missing_references.py index e918834842fc..6aa82a4dd17d 100644 --- a/doc/sphinxext/missing_references.py +++ b/doc/sphinxext/missing_references.py @@ -136,7 +136,7 @@ def _truncate_location(location): """ Cuts off anything after the first colon in location strings. - This allows for easy comparison even when line numbers chagne + This allows for easy comparison even when line numbers change (as they do regularly). """ return location.split(":", 1)[0] diff --git a/tutorials/intermediate/autoscale.py b/tutorials/intermediate/autoscale.py index bdbe37cbf2fe..64cc2e22f014 100644 --- a/tutorials/intermediate/autoscale.py +++ b/tutorials/intermediate/autoscale.py @@ -92,7 +92,7 @@ # with requested margins. # # While sticky edges don't increase the axis limits through extra margins, -# negative margins are still taken into accout. This can be seen in +# negative margins are still taken into account. This can be seen in # the reduced limits of the third image. # # Controlling autoscale From e5d47b34944a853aeeeb51baf4e46ecd87292023 Mon Sep 17 00:00:00 2001 From: katrielester Date: Wed, 24 Feb 2021 17:51:40 +0100 Subject: [PATCH 2/3] Fixes typos --- extern/agg24-svn/include/agg_array.h | 2 +- extern/agg24-svn/include/agg_blur.h | 2 +- extern/agg24-svn/include/agg_math.h | 8 ++++---- .../agg24-svn/include/agg_rasterizer_cells_aa.h | 6 +++--- .../include/agg_rasterizer_compound_aa.h | 4 ++-- .../include/agg_rasterizer_scanline_aa.h | 4 ++-- .../include/agg_rasterizer_scanline_aa_nogamma.h | 4 ++-- extern/agg24-svn/include/agg_rounded_rect.h | 2 +- extern/agg24-svn/include/agg_trans_affine.h | 8 ++++---- extern/agg24-svn/include/agg_trans_perspective.h | 4 ++-- .../agg24-svn/include/agg_trans_warp_magnifier.h | 2 +- .../agg24-svn/include/agg_vcgen_markers_term.h | 2 +- extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h | 2 +- extern/agg24-svn/include/ctrl/agg_gamma_spline.h | 2 +- extern/agg24-svn/include/ctrl/agg_spline_ctrl.h | 2 +- .../include/platform/agg_platform_support.h | 16 ++++++++-------- .../include/util/agg_color_conv_rgb16.h | 2 +- .../agg24-svn/include/util/agg_color_conv_rgb8.h | 2 +- extern/agg24-svn/src/agg_image_filters.cpp | 2 +- extern/agg24-svn/src/agg_vcgen_markers_term.cpp | 2 +- .../src/platform/BeOS/agg_platform_support.cpp | 2 +- .../src/platform/X11/agg_platform_support.cpp | 2 +- .../agg24-svn/src/platform/mac/agg_mac_pmap.cpp | 4 ++-- lib/matplotlib/axes/_axes.py | 2 +- 24 files changed, 44 insertions(+), 44 deletions(-) diff --git a/extern/agg24-svn/include/agg_array.h b/extern/agg24-svn/include/agg_array.h index 8d56683840d4..93d373633dec 100644 --- a/extern/agg24-svn/include/agg_array.h +++ b/extern/agg24-svn/include/agg_array.h @@ -157,7 +157,7 @@ namespace agg //--------------------------------------------------------------pod_vector // A simple class template to store Plain Old Data, a vector - // of a fixed size. The data is continous in memory + // of a fixed size. The data is continuous in memory //------------------------------------------------------------------------ template class pod_vector { diff --git a/extern/agg24-svn/include/agg_blur.h b/extern/agg24-svn/include/agg_blur.h index cd5713f314f9..bf0c21b0e0e2 100644 --- a/extern/agg24-svn/include/agg_blur.h +++ b/extern/agg24-svn/include/agg_blur.h @@ -18,7 +18,7 @@ // http://incubator.quasimondo.com/processing/fast_blur_deluxe.php // (search phrase "Stackblur: Fast But Goodlooking"). // The major improvement is that there's no more division table -// that was very expensive to create for large blur radii. Insted, +// that was very expensive to create for large blur radii. Instead, // for 8-bit per channel and radius not exceeding 254 the division is // replaced by multiplication and shift. // diff --git a/extern/agg24-svn/include/agg_math.h b/extern/agg24-svn/include/agg_math.h index 2ec49cf3ff88..f4391f49c848 100644 --- a/extern/agg24-svn/include/agg_math.h +++ b/extern/agg24-svn/include/agg_math.h @@ -286,7 +286,7 @@ namespace agg #else //This code is actually pure C and portable to most - //arcitectures including 64bit ones. + //architectures including 64bit ones. unsigned t = val; int bit=0; unsigned shift = 11; @@ -347,8 +347,8 @@ namespace agg // x - value at which the Bessel function is required //-------------------- // C++ Mathematical Library - // Convereted from equivalent FORTRAN library - // Converetd by Gareth Walker for use by course 392 computational project + // Converted from equivalent FORTRAN library + // Converted by Gareth Walker for use by course 392 computational project // All functions tested and yield the same results as the corresponding // FORTRAN versions. // @@ -388,7 +388,7 @@ namespace agg m2 = m1; } - // Apply recurrence down from curent max order + // Apply recurrence down from current max order for(;;) { double c3 = 0; diff --git a/extern/agg24-svn/include/agg_rasterizer_cells_aa.h b/extern/agg24-svn/include/agg_rasterizer_cells_aa.h index d1cc705405dc..5a951e867c39 100644 --- a/extern/agg24-svn/include/agg_rasterizer_cells_aa.h +++ b/extern/agg24-svn/include/agg_rasterizer_cells_aa.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowleges the support of David Turner, +// The author gratefully acknowledges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// libray - in producing this work. See http://www.freetype.org for details. +// library - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com @@ -41,7 +41,7 @@ namespace agg //-----------------------------------------------------rasterizer_cells_aa // An internal class that implements the main rasterization algorithm. - // Used in the rasterizer. Should not be used direcly. + // Used in the rasterizer. Should not be used directly. template class rasterizer_cells_aa { enum cell_block_scale_e diff --git a/extern/agg24-svn/include/agg_rasterizer_compound_aa.h b/extern/agg24-svn/include/agg_rasterizer_compound_aa.h index 41d508010e88..93628f893acf 100644 --- a/extern/agg24-svn/include/agg_rasterizer_compound_aa.h +++ b/extern/agg24-svn/include/agg_rasterizer_compound_aa.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowleges the support of David Turner, +// The author gratefully acknowledges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// libray - in producing this work. See http://www.freetype.org for details. +// library - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com diff --git a/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h b/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h index 15832166462a..f5f69d3f457a 100644 --- a/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h +++ b/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowleges the support of David Turner, +// The author gratefully acknowledges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// libray - in producing this work. See http://www.freetype.org for details. +// library - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com diff --git a/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h b/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h index 7729b3359a10..a1abd9b934ff 100644 --- a/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h +++ b/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowleges the support of David Turner, +// The author gratefully acknowledges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// libray - in producing this work. See http://www.freetype.org for details. +// library - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com diff --git a/extern/agg24-svn/include/agg_rounded_rect.h b/extern/agg24-svn/include/agg_rounded_rect.h index fe8d26f71b6e..b5d58ba632d4 100644 --- a/extern/agg24-svn/include/agg_rounded_rect.h +++ b/extern/agg24-svn/include/agg_rounded_rect.h @@ -27,7 +27,7 @@ namespace agg { //------------------------------------------------------------rounded_rect // - // See Implemantation agg_rounded_rect.cpp + // See Implementation agg_rounded_rect.cpp // class rounded_rect { diff --git a/extern/agg24-svn/include/agg_trans_affine.h b/extern/agg24-svn/include/agg_trans_affine.h index 1a611638833b..ca186fd4e9b2 100644 --- a/extern/agg24-svn/include/agg_trans_affine.h +++ b/extern/agg24-svn/include/agg_trans_affine.h @@ -78,7 +78,7 @@ namespace agg // // The affine matrix is all you need to perform any linear transformation, // but all transformations have origin point (0,0). It means that we need to - // use 2 translations if we want to rotate someting around (100,100): + // use 2 translations if we want to rotate something around (100,100): // // m *= agg::trans_affine_translation(-100.0, -100.0); // move to (0,0) // m *= agg::trans_affine_rotation(30.0 * 3.1415926 / 180.0); // rotate @@ -125,7 +125,7 @@ namespace agg parl_to_parl(src, dst); } - //---------------------------------- Parellelogram transformations + //---------------------------------- Parallelogram transformations // transform a parallelogram to another one. Src and dst are // pointers to arrays of three points (double[6], x1,y1,...) that // identify three corners of the parallelograms assuming implicit @@ -210,14 +210,14 @@ namespace agg } // Multiply the matrix by another one and return - // the result in a separete matrix. + // the result in a separate matrix. trans_affine operator * (const trans_affine& m) const { return trans_affine(*this).multiply(m); } // Multiply the matrix by inverse of another one - // and return the result in a separete matrix. + // and return the result in a separate matrix. trans_affine operator / (const trans_affine& m) const { return trans_affine(*this).multiply_inv(m); diff --git a/extern/agg24-svn/include/agg_trans_perspective.h b/extern/agg24-svn/include/agg_trans_perspective.h index 7d4aa26c798f..9d1426dbe6e8 100644 --- a/extern/agg24-svn/include/agg_trans_perspective.h +++ b/extern/agg24-svn/include/agg_trans_perspective.h @@ -147,7 +147,7 @@ namespace agg } // Multiply the matrix by another one and return - // the result in a separete matrix. + // the result in a separate matrix. trans_perspective operator * (const trans_perspective& m) const { return trans_perspective(*this).multiply(m); @@ -158,7 +158,7 @@ namespace agg } // Multiply the matrix by inverse of another one - // and return the result in a separete matrix. + // and return the result in a separate matrix. trans_perspective operator / (const trans_perspective& m) const { return trans_perspective(*this).multiply_inv(m); diff --git a/extern/agg24-svn/include/agg_trans_warp_magnifier.h b/extern/agg24-svn/include/agg_trans_warp_magnifier.h index 38a92dbec8dc..6fab29b8f47b 100644 --- a/extern/agg24-svn/include/agg_trans_warp_magnifier.h +++ b/extern/agg24-svn/include/agg_trans_warp_magnifier.h @@ -22,7 +22,7 @@ namespace agg //----------------------------------------------------trans_warp_magnifier // - // See Inmplementation agg_trans_warp_magnifier.cpp + // See Implementation agg_trans_warp_magnifier.cpp // class trans_warp_magnifier { diff --git a/extern/agg24-svn/include/agg_vcgen_markers_term.h b/extern/agg24-svn/include/agg_vcgen_markers_term.h index ee1e74e3eb47..990878d476d2 100644 --- a/extern/agg24-svn/include/agg_vcgen_markers_term.h +++ b/extern/agg24-svn/include/agg_vcgen_markers_term.h @@ -24,7 +24,7 @@ namespace agg //======================================================vcgen_markers_term // - // See Implemantation agg_vcgen_markers_term.cpp + // See Implementation agg_vcgen_markers_term.cpp // Terminal markers generator (arrowhead/arrowtail) // //------------------------------------------------------------------------ diff --git a/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h b/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h index 0a645a71468b..a358e287ead8 100644 --- a/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h +++ b/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h @@ -49,7 +49,7 @@ namespace agg void point_size(double s) { m_point_size = s; } // Event handlers. Just call them if the respective events - // in your system occure. The functions return true if redrawing + // in your system occur. The functions return true if redrawing // is required. virtual bool in_rect(double x, double y) const; virtual bool on_mouse_button_down(double x, double y); diff --git a/extern/agg24-svn/include/ctrl/agg_gamma_spline.h b/extern/agg24-svn/include/ctrl/agg_gamma_spline.h index 4f21710d9f29..052f972e85c1 100644 --- a/extern/agg24-svn/include/ctrl/agg_gamma_spline.h +++ b/extern/agg24-svn/include/ctrl/agg_gamma_spline.h @@ -56,7 +56,7 @@ namespace agg // bounding rectangle. Function values() calculates the curve by these // 4 values. After calling it one can get the gamma-array with call gamma(). // Class also supports the vertex source interface, i.e rewind() and - // vertex(). It's made for convinience and used in class gamma_ctrl. + // vertex(). It's made for convenience and used in class gamma_ctrl. // Before calling rewind/vertex one must set the bounding box // box() using pixel coordinates. //------------------------------------------------------------------------ diff --git a/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h b/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h index 8477f27d782f..b64a618df4ed 100644 --- a/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h +++ b/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h @@ -48,7 +48,7 @@ namespace agg void point_size(double s) { m_point_size = s; } // Event handlers. Just call them if the respective events - // in your system occure. The functions return true if redrawing + // in your system occur. The functions return true if redrawing // is required. virtual bool in_rect(double x, double y) const; virtual bool on_mouse_button_down(double x, double y); diff --git a/extern/agg24-svn/include/platform/agg_platform_support.h b/extern/agg24-svn/include/platform/agg_platform_support.h index 9a63411e5084..5ea33a8f4bc4 100644 --- a/extern/agg24-svn/include/platform/agg_platform_support.h +++ b/extern/agg24-svn/include/platform/agg_platform_support.h @@ -34,7 +34,7 @@ // // This file does not include any system dependent .h files such as // windows.h or X11.h, so, your demo applications do not depend on the -// platform. The only file that can #include system dependend headers +// platform. The only file that can #include system dependent headers // is the implementation file agg_platform_support.cpp. Different // implementations are placed in different directories, such as // ~/agg/src/platform/win32 @@ -81,7 +81,7 @@ namespace agg // Possible formats of the rendering buffer. Initially I thought that it's // reasonable to create the buffer and the rendering functions in // accordance with the native pixel format of the system because it - // would have no overhead for pixel format conersion. + // would have no overhead for pixel format conversion. // But eventually I came to a conclusion that having a possibility to // convert pixel formats on demand is a good idea. First, it was X11 where // there lots of different formats and visuals and it would be great to @@ -153,7 +153,7 @@ namespace agg // In the method on_mouse_button_up() the mouse flags have different // meaning. They mean that the respective button is being released, but // the meaning of the keyboard flags remains the same. - // There's absolut minimal set of flags is used because they'll be most + // There's absolute minimal set of flags is used because they'll be most // probably supported on different platforms. Even the mouse_right flag // is restricted because Mac's mice have only one button, but AFAIK // it can be simulated with holding a special key on the keydoard. @@ -369,7 +369,7 @@ namespace agg //---------------------------------------------------------platform_support - // This class is a base one to the apllication classes. It can be used + // This class is a base one to the application classes. It can be used // as follows: // // class the_application : public agg::platform_support @@ -467,7 +467,7 @@ namespace agg unsigned bpp() const { return m_bpp; } //-------------------------------------------------------------------- - // The following provides a very simple mechanism of doing someting + // The following provides a very simple mechanism of doing something // in background. It's not multithreading. When wait_mode is true // the class waits for the events and it does not ever call on_idle(). // When it's false it calls on_idle() when the event queue is empty. @@ -489,7 +489,7 @@ namespace agg void update_window(); //-------------------------------------------------------------------- - // So, finally, how to draw anythig with AGG? Very simple. + // So, finally, how to draw anything with AGG? Very simple. // rbuf_window() returns a reference to the main rendering // buffer which can be attached to any rendering class. // rbuf_img() returns a reference to the previously created @@ -544,9 +544,9 @@ namespace agg // to override them all. // In my demo applications these functions are defined inside // the the_application class (implicit inlining) which is in general - // very bad practice, I mean vitual inline methods. At least it does + // very bad practice, I mean virtual inline methods. At least it does // not make sense. - // But in this case it's quite appropriate bacause we have the only + // But in this case it's quite appropriate because we have the only // instance of the the_application class and it is in the same file // where this class is defined. virtual void on_init(); diff --git a/extern/agg24-svn/include/util/agg_color_conv_rgb16.h b/extern/agg24-svn/include/util/agg_color_conv_rgb16.h index aaa41322c5b3..455274ede609 100644 --- a/extern/agg24-svn/include/util/agg_color_conv_rgb16.h +++ b/extern/agg24-svn/include/util/agg_color_conv_rgb16.h @@ -23,7 +23,7 @@ // // A set of functors used with color_conv(). See file agg_color_conv.h // These functors can convert images with up to 8 bits per component. -// Use convertors in the following way: +// Use converters in the following way: // // agg::color_conv(dst, src, agg::color_conv_XXXX_to_YYYY()); //---------------------------------------------------------------------------- diff --git a/extern/agg24-svn/include/util/agg_color_conv_rgb8.h b/extern/agg24-svn/include/util/agg_color_conv_rgb8.h index 609460dba413..76125936f2d9 100644 --- a/extern/agg24-svn/include/util/agg_color_conv_rgb8.h +++ b/extern/agg24-svn/include/util/agg_color_conv_rgb8.h @@ -15,7 +15,7 @@ // // A set of functors used with color_conv(). See file agg_color_conv.h // These functors can convert images with up to 8 bits per component. -// Use convertors in the following way: +// Use converters in the following way: // // agg::color_conv(dst, src, agg::color_conv_XXXX_to_YYYY()); // whare XXXX and YYYY can be any of: diff --git a/extern/agg24-svn/src/agg_image_filters.cpp b/extern/agg24-svn/src/agg_image_filters.cpp index 549d9adbf5af..10ce60d8a299 100644 --- a/extern/agg24-svn/src/agg_image_filters.cpp +++ b/extern/agg24-svn/src/agg_image_filters.cpp @@ -13,7 +13,7 @@ // http://www.antigrain.com //---------------------------------------------------------------------------- // -// Filtering class image_filter_lut implemantation +// Filtering class image_filter_lut implementation // //---------------------------------------------------------------------------- diff --git a/extern/agg24-svn/src/agg_vcgen_markers_term.cpp b/extern/agg24-svn/src/agg_vcgen_markers_term.cpp index 3374ab5e82a2..2c77a5684918 100644 --- a/extern/agg24-svn/src/agg_vcgen_markers_term.cpp +++ b/extern/agg24-svn/src/agg_vcgen_markers_term.cpp @@ -37,7 +37,7 @@ namespace agg if(m_markers.size() & 1) { // Initial state, the first coordinate was added. - // If two of more calls of start_vertex() occures + // If two of more calls of start_vertex() occurs // we just modify the last one. m_markers.modify_last(coord_type(x, y)); } diff --git a/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp b/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp index 078e141ccb0a..cca37de613c0 100644 --- a/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp +++ b/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp @@ -414,7 +414,7 @@ AGGView::MouseDown(BPoint where) void AGGView::MouseMoved(BPoint where, uint32 transit, const BMessage* dragMesage) { - // workarround missed mouse up events + // workaround missed mouse up events // (if we react too slowly, app_server might have dropped events) BMessage* currentMessage = Window()->CurrentMessage(); int32 buttons = 0; diff --git a/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp b/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp index 46b874d73857..ada4f66bacdb 100644 --- a/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp +++ b/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp @@ -560,7 +560,7 @@ namespace agg // { // // // This is an attempt to find an appropriate Visual if -// // the default one doesn't match the minumum requirements +// // the default one doesn't match the minimum requirements // static int depth[] = { 32, 24, 16, 15 }; // int i; // for(int i = 0; i < 4; i++) diff --git a/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp b/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp index dc85fd69ffd4..84731267ea0f 100644 --- a/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp +++ b/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp @@ -85,9 +85,9 @@ namespace agg //static - //This function is just copied from the Win32 plattform support. + //This function is just copied from the Win32 platform support. //Is also seems to be appropriate for MacOS as well, but it is not - //thouroughly tested so far. + //thoroughly tested so far. //------------------------------------------------------------------------ unsigned pixel_map::calc_row_len(unsigned width, unsigned bits_per_pixel) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 55d7d79e4103..ddae842b292a 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -4908,7 +4908,7 @@ def reduce_C_function(C: array) -> float # make sure we have no zeros accum += 1 - # autoscale the norm with curren accum values if it hasn't + # autoscale the norm with current accum values if it hasn't # been set if norm is not None: if norm.vmin is None and norm.vmax is None: From c60e9f400fe4de6184240479e47aae12dcb9a62f Mon Sep 17 00:00:00 2001 From: katrielester Date: Thu, 25 Feb 2021 07:49:39 +0100 Subject: [PATCH 3/3] undo agg typos fix --- extern/agg24-svn/include/agg_array.h | 2 +- extern/agg24-svn/include/agg_blur.h | 2 +- extern/agg24-svn/include/agg_math.h | 8 ++++---- .../agg24-svn/include/agg_rasterizer_cells_aa.h | 6 +++--- .../include/agg_rasterizer_compound_aa.h | 4 ++-- .../include/agg_rasterizer_scanline_aa.h | 4 ++-- .../include/agg_rasterizer_scanline_aa_nogamma.h | 4 ++-- extern/agg24-svn/include/agg_rounded_rect.h | 2 +- extern/agg24-svn/include/agg_trans_affine.h | 8 ++++---- extern/agg24-svn/include/agg_trans_perspective.h | 4 ++-- .../agg24-svn/include/agg_trans_warp_magnifier.h | 2 +- .../agg24-svn/include/agg_vcgen_markers_term.h | 2 +- extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h | 2 +- extern/agg24-svn/include/ctrl/agg_gamma_spline.h | 2 +- extern/agg24-svn/include/ctrl/agg_spline_ctrl.h | 2 +- .../include/platform/agg_platform_support.h | 16 ++++++++-------- .../include/util/agg_color_conv_rgb16.h | 2 +- .../agg24-svn/include/util/agg_color_conv_rgb8.h | 2 +- extern/agg24-svn/src/agg_image_filters.cpp | 2 +- extern/agg24-svn/src/agg_vcgen_markers_term.cpp | 2 +- .../src/platform/BeOS/agg_platform_support.cpp | 2 +- .../src/platform/X11/agg_platform_support.cpp | 2 +- .../agg24-svn/src/platform/mac/agg_mac_pmap.cpp | 4 ++-- 23 files changed, 43 insertions(+), 43 deletions(-) diff --git a/extern/agg24-svn/include/agg_array.h b/extern/agg24-svn/include/agg_array.h index 93d373633dec..8d56683840d4 100644 --- a/extern/agg24-svn/include/agg_array.h +++ b/extern/agg24-svn/include/agg_array.h @@ -157,7 +157,7 @@ namespace agg //--------------------------------------------------------------pod_vector // A simple class template to store Plain Old Data, a vector - // of a fixed size. The data is continuous in memory + // of a fixed size. The data is continous in memory //------------------------------------------------------------------------ template class pod_vector { diff --git a/extern/agg24-svn/include/agg_blur.h b/extern/agg24-svn/include/agg_blur.h index bf0c21b0e0e2..cd5713f314f9 100644 --- a/extern/agg24-svn/include/agg_blur.h +++ b/extern/agg24-svn/include/agg_blur.h @@ -18,7 +18,7 @@ // http://incubator.quasimondo.com/processing/fast_blur_deluxe.php // (search phrase "Stackblur: Fast But Goodlooking"). // The major improvement is that there's no more division table -// that was very expensive to create for large blur radii. Instead, +// that was very expensive to create for large blur radii. Insted, // for 8-bit per channel and radius not exceeding 254 the division is // replaced by multiplication and shift. // diff --git a/extern/agg24-svn/include/agg_math.h b/extern/agg24-svn/include/agg_math.h index f4391f49c848..2ec49cf3ff88 100644 --- a/extern/agg24-svn/include/agg_math.h +++ b/extern/agg24-svn/include/agg_math.h @@ -286,7 +286,7 @@ namespace agg #else //This code is actually pure C and portable to most - //architectures including 64bit ones. + //arcitectures including 64bit ones. unsigned t = val; int bit=0; unsigned shift = 11; @@ -347,8 +347,8 @@ namespace agg // x - value at which the Bessel function is required //-------------------- // C++ Mathematical Library - // Converted from equivalent FORTRAN library - // Converted by Gareth Walker for use by course 392 computational project + // Convereted from equivalent FORTRAN library + // Converetd by Gareth Walker for use by course 392 computational project // All functions tested and yield the same results as the corresponding // FORTRAN versions. // @@ -388,7 +388,7 @@ namespace agg m2 = m1; } - // Apply recurrence down from current max order + // Apply recurrence down from curent max order for(;;) { double c3 = 0; diff --git a/extern/agg24-svn/include/agg_rasterizer_cells_aa.h b/extern/agg24-svn/include/agg_rasterizer_cells_aa.h index 5a951e867c39..d1cc705405dc 100644 --- a/extern/agg24-svn/include/agg_rasterizer_cells_aa.h +++ b/extern/agg24-svn/include/agg_rasterizer_cells_aa.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowledges the support of David Turner, +// The author gratefully acknowleges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// library - in producing this work. See http://www.freetype.org for details. +// libray - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com @@ -41,7 +41,7 @@ namespace agg //-----------------------------------------------------rasterizer_cells_aa // An internal class that implements the main rasterization algorithm. - // Used in the rasterizer. Should not be used directly. + // Used in the rasterizer. Should not be used direcly. template class rasterizer_cells_aa { enum cell_block_scale_e diff --git a/extern/agg24-svn/include/agg_rasterizer_compound_aa.h b/extern/agg24-svn/include/agg_rasterizer_compound_aa.h index 93628f893acf..41d508010e88 100644 --- a/extern/agg24-svn/include/agg_rasterizer_compound_aa.h +++ b/extern/agg24-svn/include/agg_rasterizer_compound_aa.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowledges the support of David Turner, +// The author gratefully acknowleges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// library - in producing this work. See http://www.freetype.org for details. +// libray - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com diff --git a/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h b/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h index f5f69d3f457a..15832166462a 100644 --- a/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h +++ b/extern/agg24-svn/include/agg_rasterizer_scanline_aa.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowledges the support of David Turner, +// The author gratefully acknowleges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// library - in producing this work. See http://www.freetype.org for details. +// libray - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com diff --git a/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h b/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h index a1abd9b934ff..7729b3359a10 100644 --- a/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h +++ b/extern/agg24-svn/include/agg_rasterizer_scanline_aa_nogamma.h @@ -9,9 +9,9 @@ // //---------------------------------------------------------------------------- // -// The author gratefully acknowledges the support of David Turner, +// The author gratefully acknowleges the support of David Turner, // Robert Wilhelm, and Werner Lemberg - the authors of the FreeType -// library - in producing this work. See http://www.freetype.org for details. +// libray - in producing this work. See http://www.freetype.org for details. // //---------------------------------------------------------------------------- // Contact: mcseem@antigrain.com diff --git a/extern/agg24-svn/include/agg_rounded_rect.h b/extern/agg24-svn/include/agg_rounded_rect.h index b5d58ba632d4..fe8d26f71b6e 100644 --- a/extern/agg24-svn/include/agg_rounded_rect.h +++ b/extern/agg24-svn/include/agg_rounded_rect.h @@ -27,7 +27,7 @@ namespace agg { //------------------------------------------------------------rounded_rect // - // See Implementation agg_rounded_rect.cpp + // See Implemantation agg_rounded_rect.cpp // class rounded_rect { diff --git a/extern/agg24-svn/include/agg_trans_affine.h b/extern/agg24-svn/include/agg_trans_affine.h index ca186fd4e9b2..1a611638833b 100644 --- a/extern/agg24-svn/include/agg_trans_affine.h +++ b/extern/agg24-svn/include/agg_trans_affine.h @@ -78,7 +78,7 @@ namespace agg // // The affine matrix is all you need to perform any linear transformation, // but all transformations have origin point (0,0). It means that we need to - // use 2 translations if we want to rotate something around (100,100): + // use 2 translations if we want to rotate someting around (100,100): // // m *= agg::trans_affine_translation(-100.0, -100.0); // move to (0,0) // m *= agg::trans_affine_rotation(30.0 * 3.1415926 / 180.0); // rotate @@ -125,7 +125,7 @@ namespace agg parl_to_parl(src, dst); } - //---------------------------------- Parallelogram transformations + //---------------------------------- Parellelogram transformations // transform a parallelogram to another one. Src and dst are // pointers to arrays of three points (double[6], x1,y1,...) that // identify three corners of the parallelograms assuming implicit @@ -210,14 +210,14 @@ namespace agg } // Multiply the matrix by another one and return - // the result in a separate matrix. + // the result in a separete matrix. trans_affine operator * (const trans_affine& m) const { return trans_affine(*this).multiply(m); } // Multiply the matrix by inverse of another one - // and return the result in a separate matrix. + // and return the result in a separete matrix. trans_affine operator / (const trans_affine& m) const { return trans_affine(*this).multiply_inv(m); diff --git a/extern/agg24-svn/include/agg_trans_perspective.h b/extern/agg24-svn/include/agg_trans_perspective.h index 9d1426dbe6e8..7d4aa26c798f 100644 --- a/extern/agg24-svn/include/agg_trans_perspective.h +++ b/extern/agg24-svn/include/agg_trans_perspective.h @@ -147,7 +147,7 @@ namespace agg } // Multiply the matrix by another one and return - // the result in a separate matrix. + // the result in a separete matrix. trans_perspective operator * (const trans_perspective& m) const { return trans_perspective(*this).multiply(m); @@ -158,7 +158,7 @@ namespace agg } // Multiply the matrix by inverse of another one - // and return the result in a separate matrix. + // and return the result in a separete matrix. trans_perspective operator / (const trans_perspective& m) const { return trans_perspective(*this).multiply_inv(m); diff --git a/extern/agg24-svn/include/agg_trans_warp_magnifier.h b/extern/agg24-svn/include/agg_trans_warp_magnifier.h index 6fab29b8f47b..38a92dbec8dc 100644 --- a/extern/agg24-svn/include/agg_trans_warp_magnifier.h +++ b/extern/agg24-svn/include/agg_trans_warp_magnifier.h @@ -22,7 +22,7 @@ namespace agg //----------------------------------------------------trans_warp_magnifier // - // See Implementation agg_trans_warp_magnifier.cpp + // See Inmplementation agg_trans_warp_magnifier.cpp // class trans_warp_magnifier { diff --git a/extern/agg24-svn/include/agg_vcgen_markers_term.h b/extern/agg24-svn/include/agg_vcgen_markers_term.h index 990878d476d2..ee1e74e3eb47 100644 --- a/extern/agg24-svn/include/agg_vcgen_markers_term.h +++ b/extern/agg24-svn/include/agg_vcgen_markers_term.h @@ -24,7 +24,7 @@ namespace agg //======================================================vcgen_markers_term // - // See Implementation agg_vcgen_markers_term.cpp + // See Implemantation agg_vcgen_markers_term.cpp // Terminal markers generator (arrowhead/arrowtail) // //------------------------------------------------------------------------ diff --git a/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h b/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h index a358e287ead8..0a645a71468b 100644 --- a/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h +++ b/extern/agg24-svn/include/ctrl/agg_gamma_ctrl.h @@ -49,7 +49,7 @@ namespace agg void point_size(double s) { m_point_size = s; } // Event handlers. Just call them if the respective events - // in your system occur. The functions return true if redrawing + // in your system occure. The functions return true if redrawing // is required. virtual bool in_rect(double x, double y) const; virtual bool on_mouse_button_down(double x, double y); diff --git a/extern/agg24-svn/include/ctrl/agg_gamma_spline.h b/extern/agg24-svn/include/ctrl/agg_gamma_spline.h index 052f972e85c1..4f21710d9f29 100644 --- a/extern/agg24-svn/include/ctrl/agg_gamma_spline.h +++ b/extern/agg24-svn/include/ctrl/agg_gamma_spline.h @@ -56,7 +56,7 @@ namespace agg // bounding rectangle. Function values() calculates the curve by these // 4 values. After calling it one can get the gamma-array with call gamma(). // Class also supports the vertex source interface, i.e rewind() and - // vertex(). It's made for convenience and used in class gamma_ctrl. + // vertex(). It's made for convinience and used in class gamma_ctrl. // Before calling rewind/vertex one must set the bounding box // box() using pixel coordinates. //------------------------------------------------------------------------ diff --git a/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h b/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h index b64a618df4ed..8477f27d782f 100644 --- a/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h +++ b/extern/agg24-svn/include/ctrl/agg_spline_ctrl.h @@ -48,7 +48,7 @@ namespace agg void point_size(double s) { m_point_size = s; } // Event handlers. Just call them if the respective events - // in your system occur. The functions return true if redrawing + // in your system occure. The functions return true if redrawing // is required. virtual bool in_rect(double x, double y) const; virtual bool on_mouse_button_down(double x, double y); diff --git a/extern/agg24-svn/include/platform/agg_platform_support.h b/extern/agg24-svn/include/platform/agg_platform_support.h index 5ea33a8f4bc4..9a63411e5084 100644 --- a/extern/agg24-svn/include/platform/agg_platform_support.h +++ b/extern/agg24-svn/include/platform/agg_platform_support.h @@ -34,7 +34,7 @@ // // This file does not include any system dependent .h files such as // windows.h or X11.h, so, your demo applications do not depend on the -// platform. The only file that can #include system dependent headers +// platform. The only file that can #include system dependend headers // is the implementation file agg_platform_support.cpp. Different // implementations are placed in different directories, such as // ~/agg/src/platform/win32 @@ -81,7 +81,7 @@ namespace agg // Possible formats of the rendering buffer. Initially I thought that it's // reasonable to create the buffer and the rendering functions in // accordance with the native pixel format of the system because it - // would have no overhead for pixel format conversion. + // would have no overhead for pixel format conersion. // But eventually I came to a conclusion that having a possibility to // convert pixel formats on demand is a good idea. First, it was X11 where // there lots of different formats and visuals and it would be great to @@ -153,7 +153,7 @@ namespace agg // In the method on_mouse_button_up() the mouse flags have different // meaning. They mean that the respective button is being released, but // the meaning of the keyboard flags remains the same. - // There's absolute minimal set of flags is used because they'll be most + // There's absolut minimal set of flags is used because they'll be most // probably supported on different platforms. Even the mouse_right flag // is restricted because Mac's mice have only one button, but AFAIK // it can be simulated with holding a special key on the keydoard. @@ -369,7 +369,7 @@ namespace agg //---------------------------------------------------------platform_support - // This class is a base one to the application classes. It can be used + // This class is a base one to the apllication classes. It can be used // as follows: // // class the_application : public agg::platform_support @@ -467,7 +467,7 @@ namespace agg unsigned bpp() const { return m_bpp; } //-------------------------------------------------------------------- - // The following provides a very simple mechanism of doing something + // The following provides a very simple mechanism of doing someting // in background. It's not multithreading. When wait_mode is true // the class waits for the events and it does not ever call on_idle(). // When it's false it calls on_idle() when the event queue is empty. @@ -489,7 +489,7 @@ namespace agg void update_window(); //-------------------------------------------------------------------- - // So, finally, how to draw anything with AGG? Very simple. + // So, finally, how to draw anythig with AGG? Very simple. // rbuf_window() returns a reference to the main rendering // buffer which can be attached to any rendering class. // rbuf_img() returns a reference to the previously created @@ -544,9 +544,9 @@ namespace agg // to override them all. // In my demo applications these functions are defined inside // the the_application class (implicit inlining) which is in general - // very bad practice, I mean virtual inline methods. At least it does + // very bad practice, I mean vitual inline methods. At least it does // not make sense. - // But in this case it's quite appropriate because we have the only + // But in this case it's quite appropriate bacause we have the only // instance of the the_application class and it is in the same file // where this class is defined. virtual void on_init(); diff --git a/extern/agg24-svn/include/util/agg_color_conv_rgb16.h b/extern/agg24-svn/include/util/agg_color_conv_rgb16.h index 455274ede609..aaa41322c5b3 100644 --- a/extern/agg24-svn/include/util/agg_color_conv_rgb16.h +++ b/extern/agg24-svn/include/util/agg_color_conv_rgb16.h @@ -23,7 +23,7 @@ // // A set of functors used with color_conv(). See file agg_color_conv.h // These functors can convert images with up to 8 bits per component. -// Use converters in the following way: +// Use convertors in the following way: // // agg::color_conv(dst, src, agg::color_conv_XXXX_to_YYYY()); //---------------------------------------------------------------------------- diff --git a/extern/agg24-svn/include/util/agg_color_conv_rgb8.h b/extern/agg24-svn/include/util/agg_color_conv_rgb8.h index 76125936f2d9..609460dba413 100644 --- a/extern/agg24-svn/include/util/agg_color_conv_rgb8.h +++ b/extern/agg24-svn/include/util/agg_color_conv_rgb8.h @@ -15,7 +15,7 @@ // // A set of functors used with color_conv(). See file agg_color_conv.h // These functors can convert images with up to 8 bits per component. -// Use converters in the following way: +// Use convertors in the following way: // // agg::color_conv(dst, src, agg::color_conv_XXXX_to_YYYY()); // whare XXXX and YYYY can be any of: diff --git a/extern/agg24-svn/src/agg_image_filters.cpp b/extern/agg24-svn/src/agg_image_filters.cpp index 10ce60d8a299..549d9adbf5af 100644 --- a/extern/agg24-svn/src/agg_image_filters.cpp +++ b/extern/agg24-svn/src/agg_image_filters.cpp @@ -13,7 +13,7 @@ // http://www.antigrain.com //---------------------------------------------------------------------------- // -// Filtering class image_filter_lut implementation +// Filtering class image_filter_lut implemantation // //---------------------------------------------------------------------------- diff --git a/extern/agg24-svn/src/agg_vcgen_markers_term.cpp b/extern/agg24-svn/src/agg_vcgen_markers_term.cpp index 2c77a5684918..3374ab5e82a2 100644 --- a/extern/agg24-svn/src/agg_vcgen_markers_term.cpp +++ b/extern/agg24-svn/src/agg_vcgen_markers_term.cpp @@ -37,7 +37,7 @@ namespace agg if(m_markers.size() & 1) { // Initial state, the first coordinate was added. - // If two of more calls of start_vertex() occurs + // If two of more calls of start_vertex() occures // we just modify the last one. m_markers.modify_last(coord_type(x, y)); } diff --git a/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp b/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp index cca37de613c0..078e141ccb0a 100644 --- a/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp +++ b/extern/agg24-svn/src/platform/BeOS/agg_platform_support.cpp @@ -414,7 +414,7 @@ AGGView::MouseDown(BPoint where) void AGGView::MouseMoved(BPoint where, uint32 transit, const BMessage* dragMesage) { - // workaround missed mouse up events + // workarround missed mouse up events // (if we react too slowly, app_server might have dropped events) BMessage* currentMessage = Window()->CurrentMessage(); int32 buttons = 0; diff --git a/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp b/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp index ada4f66bacdb..46b874d73857 100644 --- a/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp +++ b/extern/agg24-svn/src/platform/X11/agg_platform_support.cpp @@ -560,7 +560,7 @@ namespace agg // { // // // This is an attempt to find an appropriate Visual if -// // the default one doesn't match the minimum requirements +// // the default one doesn't match the minumum requirements // static int depth[] = { 32, 24, 16, 15 }; // int i; // for(int i = 0; i < 4; i++) diff --git a/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp b/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp index 84731267ea0f..dc85fd69ffd4 100644 --- a/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp +++ b/extern/agg24-svn/src/platform/mac/agg_mac_pmap.cpp @@ -85,9 +85,9 @@ namespace agg //static - //This function is just copied from the Win32 platform support. + //This function is just copied from the Win32 plattform support. //Is also seems to be appropriate for MacOS as well, but it is not - //thoroughly tested so far. + //thouroughly tested so far. //------------------------------------------------------------------------ unsigned pixel_map::calc_row_len(unsigned width, unsigned bits_per_pixel)