- Toolkit::ImageView mImageView;
- mImageView = Toolkit::ImageView::New( );
- mImageView.SetImage("http://bar.org/foobar.svg");
- mImageView.SetParentOrigin( ParentOrigin::TOP_LEFT );
- mImageView.SetAnchorPoint( AnchorPoint::TOP_LEFT );
- mImageView.SetSize(300, 300);
- mImageView.SetPosition( Vector3( 150.0f , 150.0f , 0.0f ) );
+ Toolkit::ImageView imageView;
+ imageView = Toolkit::ImageView::New( );
+ imageView.SetImage("https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/check.svg");
+ imageView.SetParentOrigin( ParentOrigin::TOP_LEFT );
+ imageView.SetAnchorPoint( AnchorPoint::TOP_LEFT );
+ imageView.SetSize(300, 300);
+ imageView.SetPosition( Vector3( 150.0f , 150.0f , 0.0f ) );
+
+ Stage::GetCurrent().Add( imageView );
+
+ DALI_TEST_CHECK( imageView );