Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user