Files
z-bar-qt/Plugins/ZShell/Internal/stroke.hpp
T
AramJonghu 4a18edfc78
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 16s
Python / lint-format (pull_request) Successful in 23s
Python / test (pull_request) Successful in 48s
C++ / build (pull_request) Successful in 2m20s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m59s
fix(strokecanvasitem): use qreal instead of float to suppress -Wdouble-promotion
2026-06-30 01:22:40 +02:00

20 lines
299 B
C++

#pragma once
#include <QColor>
#include <QPointF>
#include <QVector>
#include <QCanvasPath>
namespace ZShell::internal {
struct Stroke {
QVector<QPointF> points;
QCanvasPath path;
QColor color;
qreal width;
int groupId = -1;
bool isSinglePoint = false;
};
}; // namespace ZShell::internal