diff --git a/docs/annotated.html b/docs/annotated.html index 037daa6..af908e2 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -19,7 +19,7 @@
This is the complete list of members for Identiconpp, including all inherited members.
Identiconpp(const uint8_t rows, const uint8_t columns, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }) | Identiconpp | explicit |
generate(const string &digest, const uint16_t width=100) | Identiconpp | |
identicon_type enum name | Identiconpp | |
Identiconpp(const uint8_t rows, const uint8_t columns, identicon_type type, const string background="ffffffff", const vector< string > &foreground={ "000000ff" }) | Identiconpp | explicit |
#include <identiconpp.hpp>
+Public Types | |
enum | identicon_type { simple, +libravatar, +sigil + } |
List of identicon types. More... | |
Public Member Functions | |
Identiconpp (const uint8_t rows, const uint8_t columns, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }) | |
Initialises an instance of Identiconpp. More... | |
Identiconpp (const uint8_t rows, const uint8_t columns, identicon_type type, const string background="ffffffff", const vector< string > &foreground={ "000000ff" }) | |
Initialises an instance of Identiconpp. More... | |
Magick::Image | generate (const string &digest, const uint16_t width=100) |
Generates identicon from digest. More... | |
Base class for identiconpp.
-Use this class for all your identicons.
-Use this class for all your identicons. Exceptions will be thrown on error.
+
+
|
+ +strong | +
"ffffffff"
, Initialises an instance of Identiconpp.
-The instance can be used for creating identicons with differing image formats and sizes. Will throw std::invalid_argument
if an argument is invalid.
The instance can be used for creating identicons with differing image formats and sizes. The colors must consist of exactly 8 digits.
rows | Number of rows |
columns | Number of columns |
type | The type of identicon |
background | Background color, hexadecimal, rrggbbaa |
foreground | vector of foreground colors |
Magick::Image Identiconpp::generate | +( | +const string & | +digest, | +
+ | + | const uint16_t | +width = 100 |
+
+ | ) | ++ |
Generates identicon from digest.
+digest | The pre-computed digest |
width | The width of the image |
+ identiconpp
+ 0.1.0
+
+ |
+
+ identiconpp
+ 0.0.0
+
+ |
+
identiconpp is a library to generate identicons. Written in C++.
+There are currently 2 types of identicons supported. libravatar/sigil and simple.
The HTML reference can be generated with build_doc.sh, if doxygen is installed. It is also available at doc.schlomp.space/identiconpp/.
+ identiconpp
+ 0.0.0
+
+ |
+
This is the complete list of members for Identiconpp::Image, including all inherited members.
+data (defined in Identiconpp::Image) | Identiconpp::Image | |
error (defined in Identiconpp::Image) | Identiconpp::Image |
+ identiconpp
+ 0.0.0
+
+ |
+
Return type for images. + More...
+ +#include <identiconpp.hpp>
+Public Attributes | |
+uint8_t | error |
+Magick::Image | data |
Return type for images.
+Error number 0 means no error.
+