VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
annotation.cpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2025-2026 Arnis Lektauers
3//
4//
5#include "annotation.h"
6
7#include "framework/engine.h"
8#include "framework/entity.h"
9
10namespace visutwin::canvas
11{
13 {
14 auto* eng = entity()->engine();
15 if (eng) {
16 eng->fire("annotation:add", this);
17 }
18 }
19}
Entity * entity() const
Definition script.h:71
Engine * engine() const
Definition entity.h:123