Files
vpn-dns-gateway/demo/tikzrefinery/code/src/editing/tkrEditService.h
T
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

23 lines
843 B
C++

#pragma once
#include "model/EditorTypes.h"
#include "geometry/tkrCoordinateMapper.h"
namespace TikzRefinery {
class tkrShapeProvider;
// Prepares geometry and source replacements. Never mutates a document or widget.
class tkrEditService final
{
public:
GestureGeometry prepareGeometry(const ElementRecord &element, const DragUpdate &drag,
const tkrCoordinateMapper &mapper,
const ComparisonExtent &extent,
const tkrShapeProvider *pShapeProvider = nullptr) const;
OperationResult prepareEdits(const ElementRecord &element, const QByteArray &baSource,
const GestureGeometry &geometry,
QVector<CoordinateEdit> &vecEdits) const;
};
} // namespace TikzRefinery