GPU caching for better performance after many strokes
This commit is contained in:
@@ -3,13 +3,16 @@
|
||||
#include <QColor>
|
||||
#include <QPointF>
|
||||
#include <QVector>
|
||||
#include <QCanvasPath>
|
||||
|
||||
namespace ZShell::internal {
|
||||
|
||||
struct Stroke {
|
||||
QVector<QPointF> points;
|
||||
QCanvasPath path;
|
||||
QColor color;
|
||||
float width;
|
||||
int groupId = -1;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user