Dali 3D User Interface Engine
Namespaces | Variables
constants.h File Reference
#include <math.h>
#include <dali/public-api/math/vector3.h>
#include <dali/public-api/math/vector4.h>
Include dependency graph for constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Dali
 The top level DALi namespace.
 
namespace  Dali::ParentOrigin
 ParentOrigin constants.
 
namespace  Dali::AnchorPoint
 AnchorPoint constants.
 
namespace  Dali::Color
 Color Constants.
 
namespace  Dali::Math
 Math constants .0.
 

Variables

const Vector3 Dali::ParentOrigin::DEFAULT
 TOP_LEFT. More...
 
static const float Dali::ParentOrigin::TOP = 0.0f
 
static const float Dali::ParentOrigin::BOTTOM = 1.0f
 
static const float Dali::ParentOrigin::LEFT = 0.0f
 
static const float Dali::ParentOrigin::RIGHT = 1.0f
 
static const float Dali::ParentOrigin::MIDDLE = 0.5f
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::TOP_LEFT
 0.0f, 0.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::TOP_CENTER
 0.5f, 0.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::TOP_RIGHT
 1.0f, 0.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::CENTER_LEFT
 0.0f, 0.5f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::CENTER
 0.5f, 0.5f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::CENTER_RIGHT
 1.0f, 0.5f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::BOTTOM_LEFT
 0.0f, 1.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::BOTTOM_CENTER
 0.5f, 1.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::ParentOrigin::BOTTOM_RIGHT
 1.0f, 1.0f, 0.5f More...
 
static const float Dali::AnchorPoint::TOP = 0.0f
 
static const float Dali::AnchorPoint::BOTTOM = 1.0f
 
static const float Dali::AnchorPoint::LEFT = 0.0f
 
static const float Dali::AnchorPoint::RIGHT = 1.0f
 
static const float Dali::AnchorPoint::MIDDLE = 0.5f
 
const Vector3 Dali::AnchorPoint::DEFAULT
 CENTER. More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::TOP_LEFT
 0.0f, 0.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::TOP_CENTER
 0.5f, 0.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::TOP_RIGHT
 1.0f, 0.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::CENTER_LEFT
 0.0f, 0.5f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::CENTER
 0.5f, 0.5f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::CENTER_RIGHT
 1.0f, 0.5f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::BOTTOM_LEFT
 0.0f, 1.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::BOTTOM_CENTER
 0.5f, 1.0f, 0.5f More...
 
DALI_IMPORT_API const Vector3 Dali::AnchorPoint::BOTTOM_RIGHT
 1.0f, 1.0f, 0.5f More...
 
DALI_IMPORT_API const Vector4 Dali::Color::BLACK
 Pure black (0.0f, 0.0f, 0.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::WHITE
 Pure white (1.0f, 1.0f, 1.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::RED
 Pure red (1.0f, 0.0f, 0.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::GREEN
 Pure green (0.0f, 1.0f, 0.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::BLUE
 Pure blue (0.0f, 0.0f, 1.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::YELLOW
 Pure yellow (1.0f, 1.0f, 0.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::MAGENTA
 Pure magenta (1.0f, 0.0f, 1.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::CYAN
 Pure cyan (0.0f, 1.0f, 1.0f, 1.0f);. More...
 
DALI_IMPORT_API const Vector4 Dali::Color::TRANSPARENT
 Black transparent (0.0f, 0.0f, 0.0f, 0.0f);. More...
 
DALI_IMPORT_API const float Dali::Math::MACHINE_EPSILON_0 = Epsilon<0>::value
 Epsilon for values near zero. More...
 
DALI_IMPORT_API const float Dali::Math::MACHINE_EPSILON_1 = Epsilon<1>::value
 Epsilon for values near 1. More...
 
DALI_IMPORT_API const float Dali::Math::MACHINE_EPSILON_10 = Epsilon<10>::value
 Epsilon for values near 10. More...
 
DALI_IMPORT_API const float Dali::Math::MACHINE_EPSILON_100 = Epsilon<100>::value
 Epsilon for values near 100. More...
 
DALI_IMPORT_API const float Dali::Math::MACHINE_EPSILON_1000 = Epsilon<1000>::value
 Epsilon for values near 1000. More...
 
DALI_IMPORT_API const float Dali::Math::MACHINE_EPSILON_10000 = Epsilon<10000>::value
 Epsilon for values near 10000. More...
 
static const float Dali::Math::PI = static_cast<float>(M_PI)
 Constant representing PI. More...
 
static const float Dali::Math::PI_2 = static_cast<float>(M_PI_2)
 Constant representing PI/2. More...
 
static const float Dali::Math::PI_4 = static_cast<float>(M_PI_4)
 Constant representing PI/4. More...
 
static const float Dali::Math::PI_OVER_180 = Dali::Math::PI/180.0f
 Constant used to convert degree to radian. More...
 
static const float Dali::Math::ONE80_OVER_PI = 180.0f/Dali::Math::PI
 Constant used to convert radian to degree. More...
 
Dali Docs Home
Read more about Dali