AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
Path.hpp
1/*
2Copyright (C) 2019,2020,2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGUI_PATH_H
17#define AEONGUI_PATH_H
18#include <cstdint>
19#include <cstddef>
20#include <vector>
21#include "aeongui/Platform.hpp"
22#include "aeongui/DrawType.hpp"
23
24namespace AeonGUI
25{
31 class Path
32 {
33 public:
37 virtual void Construct ( const std::vector<DrawType>& aCommands ) = 0;
42 virtual void Construct ( const DrawType* aCommands, size_t aCommandCount ) = 0;
44 DLL virtual ~Path() = 0;
45 };
46}
47#endif
Platform-specific DLL import/export macros and compiler helpers.
Abstract base class for renderable path data.
Definition Path.hpp:32
virtual void Construct(const DrawType *aCommands, size_t aCommandCount)=0
Build the path from a raw array of draw commands.
virtual void Construct(const std::vector< DrawType > &aCommands)=0
Build the path from a vector of draw commands.
virtual ~Path()=0
Virtual destructor.