submodule: add rive-cpp to rive-tizen as submodule
[platform/core/uifw/rive-tizen.git] / submodule / include / generated / shapes / triangle_base.hpp
1 #ifndef _RIVE_TRIANGLE_BASE_HPP_
2 #define _RIVE_TRIANGLE_BASE_HPP_
3 #include "shapes/parametric_path.hpp"
4 namespace rive
5 {
6         class TriangleBase : public ParametricPath
7         {
8         protected:
9                 typedef ParametricPath Super;
10
11         public:
12                 static const int typeKey = 8;
13
14                 /// Helper to quickly determine if a core object extends another without
15                 /// RTTI at runtime.
16                 bool isTypeOf(int typeKey) const override
17                 {
18                         switch (typeKey)
19                         {
20                                 case TriangleBase::typeKey:
21                                 case ParametricPathBase::typeKey:
22                                 case PathBase::typeKey:
23                                 case NodeBase::typeKey:
24                                 case TransformComponentBase::typeKey:
25                                 case ContainerComponentBase::typeKey:
26                                 case ComponentBase::typeKey:
27                                         return true;
28                                 default:
29                                         return false;
30                         }
31                 }
32
33                 int coreType() const override { return typeKey; }
34
35         protected:
36         };
37 } // namespace rive
38
39 #endif