Modules/Sketch2D/bench/BenchInput.hpp
Шурупов Илья Викторович 81949323d9 Rename the code name to Sketch2D
Stroke2D becomes Sketch2D across folders, files, namespaces, classes,
targets, scripts, the Android package (online.ilushabasic.sketch2d)
and the update URL. A stroke2d-sketches folder is adopted like the
older leo-sketches one.
2026-10-17 19:47:01 +03:00

22 lines
445 B
C++

#pragma once
#include "InputRecording.hpp"
#include "Rect.hpp"
#include <cstdint>
namespace tp::sketch2d::bench {
struct ScribbleOptions {
RectF area = { 0, 0, 800, 600 };
double durationMs = 2500;
double sampleIntervalMs = 4;
double speedPixelsPerSecond = 2600;
double strokeMs = 700;
double gapMs = 60;
bool pen = true;
uint32_t seed = 1;
};
[[nodiscard]] InputRecording fastScribble(const ScribbleOptions& options);
}