up-to-date submodule(rive-cpp)
[platform/core/uifw/rive-tizen.git] / submodule / include / generated / shapes / cubic_mirrored_vertex_base.hpp
index d74bbe9..6fbd49e 100644 (file)
@@ -10,11 +10,11 @@ namespace rive
                typedef CubicVertex Super;
 
        public:
-               static const int typeKey = 35;
+               static const uint16_t typeKey = 35;
 
                /// Helper to quickly determine if a core object extends another without
                /// RTTI at runtime.
-               bool isTypeOf(int typeKey) const override
+               bool isTypeOf(uint16_t typeKey) const override
                {
                        switch (typeKey)
                        {
@@ -29,14 +29,14 @@ namespace rive
                        }
                }
 
-               int coreType() const override { return typeKey; }
+               uint16_t coreType() const override { return typeKey; }
 
-               static const int rotationPropertyKey = 82;
-               static const int distancePropertyKey = 83;
+               static const uint16_t rotationPropertyKey = 82;
+               static const uint16_t distancePropertyKey = 83;
 
        private:
-               float m_Rotation = 0;
-               float m_Distance = 0;
+               float m_Rotation = 0.0f;
+               float m_Distance = 0.0f;
        public:
                inline float rotation() const { return m_Rotation; }
                void rotation(float value)
@@ -60,7 +60,15 @@ namespace rive
                        distanceChanged();
                }
 
-               bool deserialize(int propertyKey, BinaryReader& reader) override
+               Core* clone() const override;
+               void copy(const CubicMirroredVertexBase& object)
+               {
+                       m_Rotation = object.m_Rotation;
+                       m_Distance = object.m_Distance;
+                       CubicVertex::copy(object);
+               }
+
+               bool deserialize(uint16_t propertyKey, BinaryReader& reader) override
                {
                        switch (propertyKey)
                        {