[Adaptation Layer] Added rive-tizen adaptation layer class.
[platform/core/uifw/rive-tizen.git] / submodule / include / generated / shapes / cubic_asymmetric_vertex_base.hpp
index e7501e8..5321542 100644 (file)
@@ -10,11 +10,11 @@ namespace rive
                typedef CubicVertex Super;
 
        public:
-               static const int typeKey = 34;
+               static const uint16_t typeKey = 34;
 
                /// 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,16 +29,16 @@ namespace rive
                        }
                }
 
-               int coreType() const override { return typeKey; }
+               uint16_t coreType() const override { return typeKey; }
 
-               static const int rotationPropertyKey = 79;
-               static const int inDistancePropertyKey = 80;
-               static const int outDistancePropertyKey = 81;
+               static const uint16_t rotationPropertyKey = 79;
+               static const uint16_t inDistancePropertyKey = 80;
+               static const uint16_t outDistancePropertyKey = 81;
 
        private:
-               float m_Rotation = 0;
-               float m_InDistance = 0;
-               float m_OutDistance = 0;
+               float m_Rotation = 0.0f;
+               float m_InDistance = 0.0f;
+               float m_OutDistance = 0.0f;
        public:
                inline float rotation() const { return m_Rotation; }
                void rotation(float value)
@@ -73,7 +73,16 @@ namespace rive
                        outDistanceChanged();
                }
 
-               bool deserialize(int propertyKey, BinaryReader& reader) override
+               Core* clone() const override;
+               void copy(const CubicAsymmetricVertexBase& object)
+               {
+                       m_Rotation = object.m_Rotation;
+                       m_InDistance = object.m_InDistance;
+                       m_OutDistance = object.m_OutDistance;
+                       CubicVertex::copy(object);
+               }
+
+               bool deserialize(uint16_t propertyKey, BinaryReader& reader) override
                {
                        switch (propertyKey)
                        {