Dali 3D User Interface Engine
Functions | Variables
anonymous_namespace{utc-Dali-ImageAtlas.cpp} Namespace Reference

Functions

Rect< int > TextureCoordinateToPixelArea (const Vector4 &textureCoordinate, float size)
 
bool IsOverlap (Rect< int > rect1, Rect< int > rect2)
 

Variables

static const char * gImage_34_RGBA = TEST_RESOURCE_DIR "/icon-edit.png"
 
static const char * gImage_50_RGBA = TEST_RESOURCE_DIR "/icon-delete.png"
 
static const char * gImage_128_RGB = TEST_RESOURCE_DIR "/gallery-small-1.jpg"
 
static const char * gImageNonExist = "non-exist.jpg"
 
const int RENDER_FRAME_INTERVAL = 16
 Duration of each frame in ms. (at approx 60FPS) More...
 

Function Documentation

bool anonymous_namespace{utc-Dali-ImageAtlas.cpp}::IsOverlap ( Rect< int >  rect1,
Rect< int >  rect2 
)

Definition at line 56 of file utc-Dali-ImageAtlas.cpp.

References Dali::Rect< T >::height, Dali::Rect< T >::width, Dali::Rect< T >::x, and Dali::Rect< T >::y.

Referenced by UtcDaliImageAtlasUploadP().

Here is the caller graph for this function:

Rect<int> anonymous_namespace{utc-Dali-ImageAtlas.cpp}::TextureCoordinateToPixelArea ( const Vector4 textureCoordinate,
float  size 
)

Variable Documentation

const char* anonymous_namespace{utc-Dali-ImageAtlas.cpp}::gImage_128_RGB = TEST_RESOURCE_DIR "/gallery-small-1.jpg"
static

Definition at line 37 of file utc-Dali-ImageAtlas.cpp.

const char* anonymous_namespace{utc-Dali-ImageAtlas.cpp}::gImage_34_RGBA = TEST_RESOURCE_DIR "/icon-edit.png"
static

Definition at line 33 of file utc-Dali-ImageAtlas.cpp.

const char* anonymous_namespace{utc-Dali-ImageAtlas.cpp}::gImage_50_RGBA = TEST_RESOURCE_DIR "/icon-delete.png"
static
const char* anonymous_namespace{utc-Dali-ImageAtlas.cpp}::gImageNonExist = "non-exist.jpg"
static

Definition at line 40 of file utc-Dali-ImageAtlas.cpp.

const int anonymous_namespace{utc-Dali-ImageAtlas.cpp}::RENDER_FRAME_INTERVAL = 16

Duration of each frame in ms. (at approx 60FPS)

Definition at line 42 of file utc-Dali-ImageAtlas.cpp.

Dali Docs Home
Read more about Dali