OLD | NEW |
| (Empty) |
1 The yellow box should be 500 x 500 on startup. Then it should stretch to be 500
x 5000, then shrink back down to 500 x 500. This tests that we can resize to a h
uge layer and back again and still maintain integrity of the layer tree. | |
2 | |
3 First (small layer): | |
4 (GraphicsLayer | |
5 (bounds 785.00 611.00) | |
6 (children 1 | |
7 (GraphicsLayer | |
8 (bounds 785.00 611.00) | |
9 (contentsOpaque 1) | |
10 (drawsContent 1) | |
11 (children 1 | |
12 (GraphicsLayer | |
13 (position 8.00 68.00) | |
14 (bounds 502.00 502.00) | |
15 (contentsOpaque 1) | |
16 (drawsContent 1) | |
17 (backgroundColor #FFFF00) | |
18 (children 2 | |
19 (GraphicsLayer | |
20 (position 51.00 101.00) | |
21 (bounds 200.00 200.00) | |
22 (contentsOpaque 1) | |
23 (drawsContent 1) | |
24 (backgroundColor #FF0000) | |
25 ) | |
26 (GraphicsLayer | |
27 (position 276.00 201.00) | |
28 (bounds 200.00 200.00) | |
29 (contentsOpaque 1) | |
30 (drawsContent 1) | |
31 (backgroundColor #0000FF) | |
32 ) | |
33 ) | |
34 ) | |
35 ) | |
36 ) | |
37 ) | |
38 ) | |
39 | |
40 | |
41 Second (huge layer): | |
42 (GraphicsLayer | |
43 (bounds 785.00 5111.00) | |
44 (children 1 | |
45 (GraphicsLayer | |
46 (bounds 785.00 5111.00) | |
47 (contentsOpaque 1) | |
48 (drawsContent 1) | |
49 (children 1 | |
50 (GraphicsLayer | |
51 (position 8.00 68.00) | |
52 (bounds 502.00 5002.00) | |
53 (contentsOpaque 1) | |
54 (drawsContent 1) | |
55 (backgroundColor #FFFF00) | |
56 (children 2 | |
57 (GraphicsLayer | |
58 (position 51.00 101.00) | |
59 (bounds 200.00 200.00) | |
60 (contentsOpaque 1) | |
61 (drawsContent 1) | |
62 (backgroundColor #FF0000) | |
63 ) | |
64 (GraphicsLayer | |
65 (position 276.00 4701.00) | |
66 (bounds 200.00 200.00) | |
67 (contentsOpaque 1) | |
68 (drawsContent 1) | |
69 (backgroundColor #0000FF) | |
70 ) | |
71 ) | |
72 ) | |
73 ) | |
74 ) | |
75 ) | |
76 ) | |
77 | |
78 | |
79 Third (small layer): | |
80 (GraphicsLayer | |
81 (bounds 785.00 611.00) | |
82 (children 1 | |
83 (GraphicsLayer | |
84 (bounds 785.00 611.00) | |
85 (contentsOpaque 1) | |
86 (drawsContent 1) | |
87 (children 1 | |
88 (GraphicsLayer | |
89 (position 8.00 68.00) | |
90 (bounds 502.00 502.00) | |
91 (contentsOpaque 1) | |
92 (drawsContent 1) | |
93 (backgroundColor #FFFF00) | |
94 (children 2 | |
95 (GraphicsLayer | |
96 (position 51.00 101.00) | |
97 (bounds 200.00 200.00) | |
98 (contentsOpaque 1) | |
99 (drawsContent 1) | |
100 (backgroundColor #FF0000) | |
101 ) | |
102 (GraphicsLayer | |
103 (position 276.00 201.00) | |
104 (bounds 200.00 200.00) | |
105 (contentsOpaque 1) | |
106 (drawsContent 1) | |
107 (backgroundColor #0000FF) | |
108 ) | |
109 ) | |
110 ) | |
111 ) | |
112 ) | |
113 ) | |
114 ) | |
115 | |
OLD | NEW |