Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / rive-cpp / src / layout.cpp
1 #include "rive/layout.hpp"
2
3 using namespace rive;
4
5 const Alignment Alignment::topLeft = Alignment(-1.0f, -1.0f);
6
7 const Alignment Alignment::topCenter = Alignment(0.0f, -1.0f);
8
9 const Alignment Alignment::topRight = Alignment(1.0f, -1.0f);
10
11 const Alignment Alignment::centerLeft = Alignment(-1.0f, 0.0f);
12
13 const Alignment Alignment::center = Alignment(0.0f, 0.0f);
14
15 const Alignment Alignment::centerRight = Alignment(1.0f, 0.0f);
16
17 const Alignment Alignment::bottomLeft = Alignment(-1.0f, 1.0f);
18
19 const Alignment Alignment::bottomCenter = Alignment(0.0f, 1.0f);
20
21 const Alignment Alignment::bottomRight = Alignment(1.0f, 1.0f);