Whitesapace cleanup.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-07-30 13:07:45 +02:00
parent 1f23390623
commit eb493d5c00
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
4 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
/* This file is part of identiconpp.
* Copyright © 2018 tastytea <tastytea@tastytea.de>
*
*
* 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.

View File

@ -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.

View File

@ -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);

View File

@ -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[],