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

Functions

void TestImage (ImageView imageView, BufferImage image)
 
void TestImage (ImageView imageView, ResourceImage image)
 
void TestUrl (ImageView imageView, const std::string url)
 

Variables

const char * VERTEX_SHADER
 
const char * FRAGMENT_SHADER
 
const char * TEST_IMAGE_FILE_NAME = "gallery_image_01.jpg"
 
const char * TEST_IMAGE_FILE_NAME2 = "gallery_image_02.jpg"
 

Function Documentation

void anonymous_namespace{utc-Dali-ImageView.cpp}::TestImage ( ImageView  imageView,
BufferImage  image 
)
void anonymous_namespace{utc-Dali-ImageView.cpp}::TestImage ( ImageView  imageView,
ResourceImage  image 
)
void anonymous_namespace{utc-Dali-ImageView.cpp}::TestUrl ( ImageView  imageView,
const std::string  url 
)

Definition at line 132 of file utc-Dali-ImageView.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), Dali::Handle::GetProperty(), Dali::Handle::GetPropertyIndex(), TEST_LOCATION, and Dali::Property::Value().

Referenced by UtcDaliImageViewNewUrlP(), UtcDaliImageViewSetGetProperty01(), and UtcDaliImageViewSetImageUrl().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* anonymous_namespace{utc-Dali-ImageView.cpp}::FRAGMENT_SHADER
Initial value:
varying mediump vec2 vTexCoord;\n
uniform sampler2D sTexture;\n
uniform lowp vec4 uColor;\n
\n
void main()\n
{\n
gl_FragColor = texture2D( sTexture, vTexCoord ) * uColor;\n
}\n
)

Definition at line 62 of file utc-Dali-ImageView.cpp.

const char* anonymous_namespace{utc-Dali-ImageView.cpp}::TEST_IMAGE_FILE_NAME = "gallery_image_01.jpg"

Definition at line 73 of file utc-Dali-ImageView.cpp.

const char* anonymous_namespace{utc-Dali-ImageView.cpp}::TEST_IMAGE_FILE_NAME2 = "gallery_image_02.jpg"

Definition at line 74 of file utc-Dali-ImageView.cpp.

Referenced by UtcDaliImageViewSetImageUrl().

const char* anonymous_namespace{utc-Dali-ImageView.cpp}::VERTEX_SHADER
Initial value:
attribute mediump vec2 aPosition;\n
varying mediump vec2 vTexCoord;\n
uniform mediump mat4 uMvpMatrix;\n
uniform mediump vec3 uSize;\n
\n
void main()\n
{\n
mediump vec4 vertexPosition = vec4(aPosition, 0.0, 1.0);\n
vertexPosition.xyz *= uSize;\n
vertexPosition = uMvpMatrix * vertexPosition;\n
\n
vTexCoord = aPosition + vec2(0.5);\n
gl_Position = vertexPosition;\n
}\n
)

Definition at line 45 of file utc-Dali-ImageView.cpp.

Dali Docs Home
Read more about Dali