1 #ifndef _RIVE_CUBIC_VERTEX_BASE_HPP_
2 #define _RIVE_CUBIC_VERTEX_BASE_HPP_
3 #include "shapes/path_vertex.hpp"
6 class CubicVertexBase : public PathVertex
9 typedef PathVertex Super;
12 static const uint16_t typeKey = 36;
14 /// Helper to quickly determine if a core object extends another without
16 bool isTypeOf(uint16_t typeKey) const override
20 case CubicVertexBase::typeKey:
21 case PathVertexBase::typeKey:
22 case ContainerComponentBase::typeKey:
23 case ComponentBase::typeKey:
30 uint16_t coreType() const override { return typeKey; }