ViewSolutions 1.0.100.30ae2aa
View solutions of qml for quasarapp projects
Loading...
Searching...
No Matches
avatargenerator.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2025-2025 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
7
8
9
10#ifndef AVATARGENERATOR_H
11#define AVATARGENERATOR_H
12
13#include <QImage>
15
16namespace ViewSolutions {
17
36{
37public:
39
50 bool generateDefaultAvatar(QImage &result, const QString &nickName,
51 const QFont& font, const QColor& color = {}) const;
52
53
54};
55
56}
57#endif // AVATARGENERATOR_H
bool generateDefaultAvatar(QImage &result, const QString &nickName, const QFont &font, const QColor &color={}) const
generateDefaultAvatar generates default avatar. This function generate Ellipse with 2 first letters o...
The ViewSolutions namespace.
#define VIEWSOLUTION_EXPORT
VIEWSOLUTION_EXPORT marks a symbol as part of the public ViewSolutions API.