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.
22 lines
445 B
C++
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);
|
|
}
|