Moved dots in test-perspective to 1px off each corner.
This commit is contained in:
parent
acf4c2e070
commit
3765475f32
@ -1,3 +1,8 @@
|
||||
2007-06-28 Tomas Frydrych <tf@openedhand.com>
|
||||
|
||||
* tests/test-perspective.c:
|
||||
Moved red dots to be positioned 1px off each corner.
|
||||
|
||||
2007-06-28 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* tests/Makefile.am:
|
||||
|
@ -23,24 +23,24 @@ main (int argc, char *argv[])
|
||||
|
||||
rect = clutter_rectangle_new_with_color (&red);
|
||||
clutter_actor_set_size (rect, 2, 2);
|
||||
clutter_actor_set_position (rect, 0, 0);
|
||||
clutter_actor_set_position (rect, 1, 1);
|
||||
clutter_group_add (CLUTTER_GROUP (stage), rect);
|
||||
|
||||
rect = clutter_rectangle_new_with_color (&red);
|
||||
clutter_actor_set_size (rect, 2, 2);
|
||||
clutter_actor_set_position (rect, 0, clutter_actor_get_width(stage)-3);
|
||||
clutter_actor_set_position (rect, clutter_actor_get_width(stage)-3, 1);
|
||||
clutter_group_add (CLUTTER_GROUP (stage), rect);
|
||||
|
||||
rect = clutter_rectangle_new_with_color (&red);
|
||||
clutter_actor_set_size (rect, 2, 2);
|
||||
clutter_actor_set_position (rect, clutter_actor_get_height(stage)-3, 0);
|
||||
clutter_actor_set_position (rect, 1, clutter_actor_get_height(stage)-3);
|
||||
clutter_group_add (CLUTTER_GROUP (stage), rect);
|
||||
|
||||
rect = clutter_rectangle_new_with_color (&red);
|
||||
clutter_actor_set_size (rect, 2, 2);
|
||||
clutter_actor_set_position (rect,
|
||||
clutter_actor_get_height(stage)-3,
|
||||
clutter_actor_get_width(stage)-3);
|
||||
clutter_actor_get_width(stage)-3,
|
||||
clutter_actor_get_height(stage)-3);
|
||||
clutter_group_add (CLUTTER_GROUP (stage), rect);
|
||||
|
||||
clutter_actor_show_all (CLUTTER_ACTOR (stage));
|
||||
|
Loading…
Reference in New Issue
Block a user