Improve algorithm documentation,

This commit is contained in:
tastytea 2018-12-26 22:55:32 +01:00
parent 55457923d0
commit d724317304
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 2 deletions

View File

@ -84,7 +84,8 @@ private:
* @brief Generate simple identicon.
*
* Use bits 0 to (columns / 2 + columns % 2) * _rows, use the
* following bits to determine foreground color.
* following bits to determine foreground color. Squares are drawn
* from left to right, top to bottom.
*
* @param digest The pre-computed digest
* @param width The width of the image
@ -100,7 +101,8 @@ private:
* @brief Generate libravatar-style / sigil identicon.
*
* Use bits 9 to (columns / 2 + columns % 2) * _rows, use the first
* 8 bits to determine foreground color.
* 8 bits to determine foreground color. Squares are drawn from top
* to bottom, left to right.
*
* @param digest The pre-computed digest
* @param width The width of the image