diff --git a/src/debug.hpp b/src/debug.hpp index 2d499cb..190d7f0 100644 --- a/src/debug.hpp +++ b/src/debug.hpp @@ -1,6 +1,6 @@ /* This file is part of identiconpp. * Copyright © 2018 tastytea - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. diff --git a/src/identiconpp.cpp b/src/identiconpp.cpp index 90a6838..54899b8 100644 --- a/src/identiconpp.cpp +++ b/src/identiconpp.cpp @@ -145,7 +145,7 @@ Magick::Color Identiconpp::get_color(const uint16_t firstbit, // std::stringstream does not support writing into uint16_t unsigned short bits; ss >> bits; - + // Shift an one $colorbits times to the left, substract 1. This leaves us // with $colorbits ones. Then AND bits and our ones to keep only as many // bits as we need. diff --git a/src/identiconpp.hpp b/src/identiconpp.hpp index e148671..5f34ac0 100644 --- a/src/identiconpp.hpp +++ b/src/identiconpp.hpp @@ -73,7 +73,7 @@ public: * @param background Background color, hexadecimal, rrggbbaa * @param foreground vector of foreground colors * @param padding Padding in pixels { left & right, top & down } - * + * * @since before 0.5.0 */ explicit Identiconpp(const uint8_t columns, const uint8_t rows, @@ -126,7 +126,7 @@ private: * @param digest The pre-computed digest * * @return The image - * + * * @since before 0.5.0 */ Magick::Image generate_ltr_symmetric(const string &digest); @@ -141,7 +141,7 @@ private: * @param digest The pre-computed digest * * @return The image - * + * * @since before 0.5.0 */ Magick::Image generate_ltr_asymmetric(const string &digest); @@ -156,7 +156,7 @@ private: * @param digest The pre-computed digest * * @return The image - * + * * @since before 0.5.0 */ Magick::Image generate_sigil(const string &digest); @@ -168,7 +168,7 @@ private: * * @param digest The pre-computed digest * @param type The type of identicon - * + * * @since before 0.5.0 */ void check_entropy(const string &digest, algorithm type); @@ -180,7 +180,7 @@ private: * @param digest The digest * * @return The bit. - * + * * @since before 0.5.0 */ bool get_bit(const uint16_t bit, const string &digest); @@ -194,7 +194,7 @@ private: * @param digest The digest * * @return A foreground color. - * + * * @since before 0.5.0 */ Magick::Color get_color(const uint16_t firstbit, const string &digest); @@ -205,7 +205,7 @@ private: * @param c Character to check * * @return true if not hex. - * + * * @since before 0.5.0 */ static bool not_hex(const char c); @@ -214,7 +214,7 @@ private: * @brief Performs checks on a color definition in a string. * * @param color The color as string - * + * * @since before 0.5.0 */ void check_color(const string &color); diff --git a/src/identiconpp_c.h b/src/identiconpp_c.h index 74e646a..e704087 100644 --- a/src/identiconpp_c.h +++ b/src/identiconpp_c.h @@ -61,7 +61,7 @@ extern "C" * @param padding Padding in pixels { left & right, top & down } * * @return false on error, true otherwise. - * + * * @since before 0.5.0 */ bool identiconpp_setup(const uint8_t columns, const uint8_t rows, @@ -79,7 +79,7 @@ extern "C" * @param width The width of the identicon * * @return Length of the generated base64-string, or 0 on error. - * + * * @since before 0.5.0 */ uint64_t identiconpp_generate(const char magick[],