test-pain: Print out extend for color lines

Update all expected results to include this value.
This commit is contained in:
Matthias Clasen 2023-01-10 22:13:44 -05:00
parent 6648e6e3e5
commit 1cb5a87feb
16 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# random seed: R02S4d8792212546d80a17c24f3863c0fe64
# random seed: R02Safcf66bc33a0c434dd4dafbe12dbbf15
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sa2bbdfa9ec2b1d4c950ba38ddcb5cea9
# random seed: R02Se2b1d61d9c4fd31724517ef138cff8f6
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -12,7 +12,7 @@ start clip rectangle 64 -224 1.22e+03 928
radial gradient
p0 280 440 radius 0
p1 280 440 radius 467
colors
colors 0
0 186 141 104 255
0.449 183 138 103 255
0.809 173 130 100 255
@ -30,7 +30,7 @@ start clip rectangle 64 -224 1.22e+03 928
p0 231 -27
p1 1.02e+03 -27
p2 231 -815
colors
colors 0
0 164 123 98 255
1 164 123 98 255
end transform
@ -73,7 +73,7 @@ start clip rectangle 64 -224 1.22e+03 928
p0 669 776
p1 180 -106
p2 -212 1.26e+03
colors
colors 0
0 100 181 246 255
1 33 150 243 255
end transform
@ -98,7 +98,7 @@ start clip rectangle 64 -224 1.22e+03 928
radial gradient
p0 588 198 radius 0
p1 588 198 radius 342
colors
colors 0
0 186 141 104 255
0.449 183 138 103 255
0.809 173 130 100 255

View File

@ -1,4 +1,4 @@
# random seed: R02Sa1bbd7f567720f4aaf0abd7972c53d03
# random seed: R02S962715a93cddae2d3121a44b0e86cc22
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -12,7 +12,7 @@ start clip rectangle 19 -224 1.4e+03 928
radial gradient
p0 280 440 radius 0
p1 280 440 radius 467
colors
colors 0
0 186 141 104 255
0.449 183 138 103 255
0.809 173 130 100 255
@ -30,7 +30,7 @@ start clip rectangle 19 -224 1.4e+03 928
p0 231 -27
p1 1.02e+03 -27
p2 231 -815
colors
colors 0
0 164 123 98 255
1 164 123 98 255
end transform
@ -73,7 +73,7 @@ start clip rectangle 19 -224 1.4e+03 928
p0 669 776
p1 180 -106
p2 -212 1.26e+03
colors
colors 0
0 100 181 246 255
1 33 150 243 255
end transform
@ -98,7 +98,7 @@ start clip rectangle 19 -224 1.4e+03 928
radial gradient
p0 588 198 radius 0
p1 588 198 radius 342
colors
colors 0
0 186 141 104 255
0.449 183 138 103 255
0.809 173 130 100 255

View File

@ -1,4 +1,4 @@
# random seed: R02S0619f4e972b1d179c4e90b21eebbfbb5
# random seed: R02Sbe08283e5db998c0ef8db485be24c9ce
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S5c70bbb67a556a20d62d07736c9d28f1
# random seed: R02S44e738ad8b5a9b0616dbb5ed381f9fd9
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S9b7f7743b9d517c2b4d12512dec7cfa4
# random seed: R02Sf5cb8d4e67af171b27fea99802b3c8e6
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Se18673abb30681f00ebfae2450ceb094
# random seed: R02S730db577e65f80492e3e3eacc21152fa
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -10,7 +10,7 @@ start clip rectangle 0 0 1e+03 1e+03
sweep gradient
center 500 600
angles 0 6.28
colors
colors 0
0.25 250 240 230 255
0.417 0 0 255 255
0.583 255 0 0 255

View File

@ -1,4 +1,4 @@
# random seed: R02Sc663003d20eb403dcaeac1a576deed2d
# random seed: R02Se7b59cf79ba25ef558857e1656ae21a7
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sc5ad459f845cff7270656fc783bc0210
# random seed: R02S7f8abf2d360ae53f6acb756fc1d06756
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sc4bee16dcf52bcb58907ac7ac5c774b7
# random seed: R02Sa683270814db638bd7dc3f8fc211d03f
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S44305390d95bd0132defe151ebe3a9a6
# random seed: R02Sba94a82eea093a3b08429f774ffebb38
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -10,7 +10,7 @@ start clip rectangle 0 500 500 1e+03
radial gradient
p0 166 768 radius 0
p1 166 768 radius 256
colors
colors 2
0 0 128 0 255
0.5 255 255 255 255
1 255 0 0 255

View File

@ -1,4 +1,4 @@
# random seed: R02S4b5d19f08491119b5a167428e9bb5b6e
# random seed: R02Sd7e42dc5034eae428f9fdf486603e319
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -11,7 +11,7 @@ start clip rectangle 100 250 1.2e+03 950
p0 100 950
p1 2.3e+03 950
p2 -1e+03 250
colors
colors 0
0 255 0 0 255
0.5 0 0 255 255
1 255 255 0 255

View File

@ -1,4 +1,4 @@
# random seed: R02S983d28d98f64a5434cae4fd3c38c2940
# random seed: R02Se9d7defb0878dc8a90f62d9f42a715f3
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -24,7 +24,7 @@ start clip rectangle 0 0 1e+03 1e+03
p0 500 250
p1 500 950
p2 600 250
colors
colors 1
0 255 0 0 255
1 0 0 255 255
end transform

View File

@ -1,4 +1,4 @@
# random seed: R02S57d61b1042de59bdab938a7a7c9d7ab6
# random seed: R02S68886e711ff0007004bb488f8b8c3904
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -11,7 +11,7 @@ start clip rectangle 100 250 900 950
p0 100 250
p1 900 250
p2 100 300
colors
colors 1
0 255 0 0 255
1 0 0 255 255
end transform

View File

@ -1,4 +1,4 @@
# random seed: R02Scfce8d678cf7cf2f5ad5e718435dbe37
# random seed: R02Se8a9546dc34a7e4d4f5c5e997ddcf0d8
# Start of hb tests
# Start of paint tests
# Start of ot tests
@ -10,7 +10,7 @@ start clip rectangle 0 0 1e+03 1e+03
radial gradient
p0 166 768 radius 0
p1 166 768 radius 256
colors
colors 1
0 0 128 0 255
0.5 255 255 255 255
1 255 0 0 255

View File

@ -173,7 +173,7 @@ print_color_line (paint_data_t *data,
stops = alloca (len * sizeof (hb_color_stop_t));
hb_color_line_get_color_stops (color_line, 0, &len, stops);
print (data, "colors");
print (data, "colors %d", hb_color_line_get_extend (color_line));
data->level += 1;
for (unsigned int i = 0; i < len; i++)
print (data, "%.3g %d %d %d %d",