mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Fix typos
This commit is contained in:
parent
062dd988f3
commit
7a1f6d8f0d
@ -1,6 +1,6 @@
|
||||
/*
|
||||
libSDL2pp - C++11 bindings/wrapper for SDL2
|
||||
Copyright (C) 2013-2014 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -36,7 +36,7 @@ namespace SDL2pp {
|
||||
///
|
||||
/// Internally, libSDL2pp checks return value of each SDL2
|
||||
/// function it calls which may fail. If the function fails,
|
||||
/// SDL2pp::Exception is thrown, and SDL2 error which expains
|
||||
/// SDL2pp::Exception is thrown, and SDL2 error which explains
|
||||
/// cause of function failure is stored in the exception and
|
||||
/// may be extracted later.
|
||||
///
|
||||
|
@ -232,9 +232,9 @@ public:
|
||||
bool GetKerning() const;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Set whther to use kerning when rendering the loaded font
|
||||
/// \brief Set whether to use kerning when rendering the loaded font
|
||||
///
|
||||
/// \param allowed False to diable kerning, true to enable kerning.
|
||||
/// \param allowed False to disable kerning, true to enable kerning.
|
||||
/// The default is true, enabled
|
||||
///
|
||||
/// Set whether to use kerning when rendering the loaded font.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
libSDL2pp - C++11 bindings/wrapper for SDL2
|
||||
Copyright (C) 2013-2014 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -219,7 +219,7 @@ public:
|
||||
Point& operator-=(const Point& other);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Memberwise divide by an inteher
|
||||
/// \brief Memberwise divide by an integer
|
||||
///
|
||||
/// \param value Divisor
|
||||
///
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
libSDL2pp - C++11 bindings/wrapper for SDL2
|
||||
Copyright (C) 2013-2014 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -357,7 +357,7 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Draw a rectangle on the current rendering target
|
||||
///
|
||||
/// \param r Rectange to draw
|
||||
/// \param r Rectangle to draw
|
||||
///
|
||||
/// \throws SDL2pp::Exceptions
|
||||
///
|
||||
@ -410,7 +410,7 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Fill a rectangle on the current rendering target
|
||||
///
|
||||
/// \param r Rectange to draw
|
||||
/// \param r Rectangle to draw
|
||||
///
|
||||
/// \throws SDL2pp::Exceptions
|
||||
///
|
||||
@ -452,9 +452,9 @@ public:
|
||||
void ReadPixels(const Optional<Rect>& rect, Uint32 format, void* pixels, int pitch);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Set the clipping rectange for rendering
|
||||
/// \brief Set the clipping rectangle for rendering
|
||||
///
|
||||
/// \param rect New clipping rectangle or NullOpt to dusable
|
||||
/// \param rect New clipping rectangle or NullOpt to disable
|
||||
/// clipping
|
||||
///
|
||||
/// \throws SDL2pp::Exceptions
|
||||
@ -468,7 +468,7 @@ public:
|
||||
/// \brief Set a device independent resolution for rendering
|
||||
///
|
||||
/// \param w Width of the logical resolution
|
||||
/// \param h Heigth of the logical resolution
|
||||
/// \param h Height of the logical resolution
|
||||
///
|
||||
/// \throws SDL2pp::Exceptions
|
||||
///
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
libSDL2pp - C++11 bindings/wrapper for SDL2
|
||||
Copyright (C) 2013-2014 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -98,7 +98,7 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \defgroup ttf SDL_ttf
|
||||
///
|
||||
/// \brief Text rendering throught SDL_ttf library
|
||||
/// \brief Text rendering through SDL_ttf library
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
#ifdef SDL2PP_WITH_TTF
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
libSDL2pp - C++11 bindings/wrapper for SDL2
|
||||
Copyright (C) 2013-2014 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -73,7 +73,7 @@ public:
|
||||
Window(SDL_Window* window);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Create window with specified title and fimensions
|
||||
/// \brief Create window with specified title and dimensions
|
||||
///
|
||||
/// \param title Title of the windows, in UTF-8 encoding
|
||||
/// \param x X position of the window, SDL_WINDOWPOS_CENTERED, or SDL_WINDOWPOS_UNDEFINED
|
||||
@ -231,8 +231,8 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Set the size of a window's client area
|
||||
///
|
||||
/// \param w Width of the window in pixles
|
||||
/// \param h Height of the window in pixles
|
||||
/// \param w Width of the window in pixels
|
||||
/// \param h Height of the window in pixels
|
||||
///
|
||||
/// \see http://wiki.libsdl.org/SDL_SetWindowSize
|
||||
///
|
||||
@ -242,7 +242,7 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Set the size of a window's client area
|
||||
///
|
||||
/// \param size Point representin window dimensions
|
||||
/// \param size Point representing window dimensions
|
||||
///
|
||||
/// \see http://wiki.libsdl.org/SDL_SetWindowSize
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user