sugarlabs / turtleart-activity

A block-based Logo programming environment
MIT License
18 stars 54 forks source link

Fullscreen doesn't fill screen, math prime factors circles are drawn as lines #44

Closed quozl closed 6 years ago

quozl commented 7 years ago

Reproducer: load example samples/math-prime-factors.ta, and run. The thumbnail for the example looks like this;

math-prime-factors

Expected result: display uses full screen, filled coloured circles are drawn.

Observed result: display does not use full screen, circles are drawn as lines. Like this;

tba-2

Downgrading to 215 fixes both.

walterbender commented 6 years ago

Hmm. I suspect that this is an issue with the line end-point style not being set to rounded.

This version works, which indicates that pensize is set properly.

[[0, ["start", 21], 200, 72, [null, 466]],
[1, ["while", 0], 241, 532, [4, 5, 11, 150]],
[2, ["storein", 0], 237, 606, [259, 3, 266, 270]],
[3, ["string", "nn"], 310, 606, [2, null]],
[4, ["vspace", 0], 241, 490, [148, 1]],
[5, ["greater2", 0], 297, 498, [1, 6, 8, null]],
[6, "box", 353, 498, [5, 7, null]],
[7, ["string", "nn"], 408, 498, [6, null]],
[8, ["number", 1], 377, 540, [5, null]],
[9, ["hat", 0], 340, 180, [null, 10, 85]],
[10, ["string", "get next prime factor"], 401, 192, [9, null]],
[11, "stack", 259, 598, [1, 12, null]],
[12, ["string", "get next prime factor"], 320, 598, [11, null]],
[13, "box", 534, 1034, [87, 14, null]],
[14, ["string", "factor"], 589, 1034, [13, null]],
[15, "box", 605, 1118, [19, 16, null]],
[16, ["string", "nn"], 660, 1118, [15, null]],
[17, ["storein", 0], 461, 1076, [87, 18, 19, null]],
[18, ["string", "nn"], 534, 1076, [17, null]],
[19, ["division2", 0], 534, 1118, [17, 15, 20]],
[20, "box", 629, 1160, [19, 21, null]],
[21, ["string", "factor"], 684, 1160, [20, null]],
[22, ["storein", 0], 359, 310, [140, 23, 24, null]],
[23, ["string", "factor"], 432, 310, [22, null]],
[24, ["number", 2], 432, 352, [22, null]],
[25, ["storein", 0], 341, 514, [140, 26, 34, 36]],
[26, ["string", "max"], 414, 514, [25, null]],
[27, "box", 576, 556, [30, 28, null]],
[28, ["string", "nn"], 631, 556, [27, null]],
[29, "int", 468, 556, [34, 30]],
[30, "sqrt", 522, 556, [29, 27]],
[31, ["while", 146], 341, 766, [71, 47, 70, 84]],
[32, ["plus2", 0], 432, 1124, [39, 37, 33]],
[33, ["number", 1], 486, 1166, [32, null]],
[34, ["plus2", 0], 414, 556, [25, 29, 35]],
[35, ["number", 1], 468, 598, [34, null]],
[36, ["vspace", 0], 341, 598, [25, 76]],
[37, "box", 486, 1124, [32, 38, null]],
[38, ["string", "factor"], 541, 1124, [37, null]],
[39, ["storein", 0], 359, 1082, [42, 40, 32, null]],
[40, ["string", "factor"], 432, 1082, [39, null]],
[41, "stopstack", 377, 1022, [63, null]],
[42, ["if", 21], 359, 914, [70, 48, 63, 39]],
[43, "box", 453, 732, [47, 44, null]],
[44, ["string", "factor"], 508, 732, [43, null]],
[45, "box", 477, 774, [47, 46, null]],
[46, ["string", "max"], 532, 774, [45, null]],
[47, ["less2", 0], 397, 732, [31, 43, 45, null]],
[48, ["equal2", 20], 415, 840, [42, 50, 49, null]],
[49, ["number", 0], 471, 922, [48, null]],
[50, ["remainder2", 0], 471, 840, [48, 51, 53]],
[51, "box", 533, 840, [50, 52, null]],
[52, ["string", "nn"], 588, 840, [51, null]],
[53, "box", 557, 882, [50, 54, null]],
[54, ["string", "factor"], 612, 882, [53, null]],
[55, ["storein", 0], 377, 1440, [65, 56, 57, 61]],
[56, ["string", "factor"], 450, 1440, [55, null]],
[57, "box", 450, 1482, [55, 58, null]],
[58, ["string", "nn"], 505, 1482, [57, null]],
[59, ["hat", 0], 460, 240, [null, 60, 86]],
[60, ["string", "push factor"], 521, 252, [59, null]],
[61, "stack", 377, 1524, [55, 62, null]],
[62, ["string", "push factor"], 438, 1524, [61, null]],
[63, "stack", 377, 980, [42, 64, 41]],
[64, ["string", "push factor"], 438, 980, [63, null]],
[65, ["if", 42], 359, 1374, [69, 72, 55, null]],
[66, ["number", 1], 495, 1382, [72, null]],
[67, "box", 471, 1340, [72, 68, null]],
[68, ["string", "nn"], 526, 1340, [67, null]],
[69, ["vspace", 0], 359, 1332, [79, 65]],
[70, ["vspace", 20], 359, 832, [31, 42]],
[71, ["vspace", 0], 341, 724, [76, 31]],
[72, ["greater2", 0], 415, 1340, [65, 67, 66, null]],
[73, ["storein", 0], 461, 908, [349, 74, 75, 87]],
[74, ["string", "new factor"], 534, 908, [73, null]],
[75, ["number", 1], 534, 950, [73, null]],
[76, ["storein", 0], 341, 640, [36, 77, 78, 71]],
[77, ["string", "new factor"], 414, 640, [76, null]],
[78, ["number", 0], 414, 682, [76, null]],
[79, ["if", 105], 341, 1266, [84, 80, 69, null]],
[80, ["equal2", 0], 397, 1232, [79, 82, 81, null]],
[81, ["number", 0], 453, 1274, [80, null]],
[82, "box", 453, 1232, [80, 83, null]],
[83, ["string", "new factor"], 508, 1232, [82, null]],
[84, ["vspace", 20], 341, 1184, [31, 79]],
[85, "sandwichclampcollapsed", 358, 234, [9, 140, null]],
[86, "sandwichclampcollapsed", 478, 294, [59, 226, null]],
[87, ["storein", 0], 461, 992, [73, 96, 13, 17]],
[88, ["number", 1], 588, 472, [89, null]],
[89, ["plus2", 0], 534, 430, [98, 94, 88]],
[90, ["vspace", 20], 461, 472, [98, 343]],
[91, ["storein", 0], 241, 364, [284, 92, 93, 148]],
[92, ["string", "count"], 314, 364, [91, null]],
[93, ["number", 0], 314, 406, [91, null]],
[94, "box", 588, 430, [89, 95, null]],
[95, ["string", "count"], 643, 430, [94, null]],
[96, "box", 534, 992, [87, 97, null]],
[97, ["string", "count"], 589, 992, [96, null]],
[98, ["storein", 0], 461, 388, [231, 99, 89, 90]],
[99, ["string", "count"], 534, 388, [98, null]],
[100, ["storein", 0], 241, 784, [152, 101, 102, 383]],
[101, ["string", "radius"], 314, 784, [100, null]],
[102, ["number", 400], 314, 826, [100, null]],
[103, ["string", "ii"], 737, 926, [188, null]],
[104, "seth", 636, 588, [451, 237, 173]],
[105, ["number", 360], 870, 630, [106, null]],
[106, ["division2", 0], 799, 630, [237, 105, 187]],
[107, "forward", 636, 712, [173, 110, 161]],
[108, "forward", 756, 752, [403, 480, 248]],
[109, "back", 636, 982, [156, 112, null]],
[110, "box", 710, 712, [107, 111, null]],
[111, ["string", "radius"], 765, 712, [110, null]],
[112, "box", 694, 982, [109, 113, null]],
[113, ["string", "radius"], 749, 982, [112, null]],
[114, ["hat", 0], 900, 300, [null, 115, 125]],
[115, ["string", "increment color"], 961, 312, [114, null]],
[116, "stack", 756, 836, [248, 117, 397]],
[117, ["string", "increment color"], 817, 836, [116, null]],
[118, "setcolor", 901, 364, [125, 124, null]],
[119, ["number", 100], 1107, 406, [121, null]],
[120, "color", 1036, 364, [124, null]],
[121, ["division2", 0], 1036, 406, [124, 119, 122]],
[122, "box", 1131, 448, [121, 123, null]],
[123, ["string", "number"], 1186, 448, [122, null]],
[124, ["plus2", 0], 982, 364, [118, 120, 121]],
[125, "sandwichclampcollapsed", 918, 354, [114, 118, null]],
[126, ["until", 103], 516, 652, [179, 131, 449, null]],
[127, ["storein", 20], 534, 720, [449, 185, 235, 135]],
[128, ["string", "ii"], 661, 720, [185, null]],
[129, "box", 661, 844, [235, 186, null]],
[130, ["string", "ii"], 770, 844, [186, null]],
[131, ["equal2", 20], 572, 926, [126, 132, 154, null]],
[132, "box", 628, 926, [131, 188, null]],
[133, ["hat", 0], 360, 360, [null, 134, 214]],
[134, ["string", "draw cluster"], 421, 372, [133, null]],
[135, ["vspace", 20], 534, 844, [127, null]],
[136, "stack", 241, 1244, [405, 137, 294]],
[137, ["string", "draw cluster"], 302, 1244, [136, null]],
[138, "box", 453, 210, [141, 139, null]],
[139, ["string", "count"], 508, 210, [138, null]],
[140, ["ifelse", [21, 21]],
341, 244, [85, 141, 22, 143, 25]],
[141, ["equal2", 0], 397, 210, [140, 138, 142, null]],
[142, ["number", 0], 453, 252, [141, null]],
[143, ["storein", 0], 359, 412, [140, 144, 147, null]],
[144, ["string", "factor"], 432, 412, [143, null]],
[145, "box", 487, 454, [147, 146, null]],
[146, ["string", "count"], 542, 454, [145, null]],
[147, "box", 432, 454, [143, 145, null]],
[148, "comment", 241, 448, [91, 149, 4]],
[149, ["string", "calculate prime factors"], 329, 448, [148, null]],
[150, "comment", 241, 658, [1, 151, 152]],
[151, ["string", "display prime factors"], 329, 658, [150, null]],
[152, ["storein", 0], 241, 700, [150, 153, 174, 100]],
[153, ["string", "level"], 314, 700, [152, null]],
[154, "box", 628, 1008, [131, 181, null]],
[155, ["string", "ii"], 643, 528, [176, null]],
[156, ["ifelse", [0, 0]],
636, 796, [161, 157, 441, 443, 109]],
[157, ["equal2", 0], 692, 762, [156, 162, 158, null]],
[158, ["number", 1], 748, 804, [157, null]],
[159, "stack", 941, 770, [225, 160, 217]],
[160, ["string", "draw cluster"], 1002, 770, [159, null]],
[161, ["vspace", 0], 636, 754, [107, 156]],
[162, "box", 748, 762, [157, 163, null]],
[163, ["string", "level"], 803, 762, [162, null]],
[164, ["storein", 0], 181, 832, [360, 198, 171, 172]],
[165, ["number", 2.5], 349, 916, [171, null]],
[166, "box", 325, 874, [171, 194, null]],
[167, ["storein", 0], 199, 1064, [373, 168, 399, null]],
[168, ["string", "radius"], 272, 1064, [167, null]],
[169, "box", 293, 964, [374, 170, null]],
[170, ["string", "radius"], 348, 964, [169, null]],
[171, ["division2", 0], 254, 874, [164, 166, 165]],
[172, ["vspace", 20], 181, 916, [164, 373]],
[173, ["vspace", 20], 636, 630, [104, 107]],
[174, "box", 314, 742, [152, 175, null]],
[175, ["string", "count"], 369, 742, [174, null]],
[176, ["plus2", 0], 589, 528, [179, 155, 177]],
[177, "box", 643, 570, [176, 178, null]],
[178, ["string", "level"], 698, 570, [177, null]],
[179, ["storein", 20], 516, 528, [205, 176, 180, 126]],
[180, ["number", 0], 589, 610, [179, null]],
[181, "box", 683, 1008, [154, 182, null]],
[182, ["string", "level"], 738, 1008, [181, null]],
[183, "box", 661, 762, [185, 184, null]],
[184, ["string", "level"], 716, 762, [183, null]],
[185, ["plus2", 0], 607, 720, [127, 128, 183]],
[186, ["plus2", 0], 716, 844, [129, 130, 233]],
[187, "box", 894, 672, [106, 191, null]],
[188, ["plus2", 0], 683, 926, [132, 103, 189]],
[189, "box", 737, 968, [188, 190, null]],
[190, ["string", "level"], 792, 968, [189, null]],
[191, "box", 949, 672, [187, 192, null]],
[192, ["string", "level"], 1004, 672, [191, null]],
[193, ["plus2", 0], 254, 584, [203, 201, 195]],
[194, ["string", "radius"], 380, 874, [166, null]],
[195, "box", 308, 626, [193, 196, null]],
[196, ["string", "level"], 363, 626, [195, null]],
[197, ["plus2", 0], 485, 770, [206, 202, 199]],
[198, ["string", "radius"], 254, 832, [164, null]],
[199, "box", 539, 812, [197, 200, null]],
[200, ["string", "level"], 594, 812, [199, null]],
[201, ["string", "heading"], 308, 584, [193, null]],
[202, ["string", "heading"], 539, 770, [197, null]],
[203, ["storein", 20], 181, 584, [252, 193, 215, 360]],
[204, "seth", 321, 770, [372, 206, null]],
[205, "sandwichclampcollapsed", 498, 494, [207, 179, null]],
[206, "box", 430, 770, [204, 197, null]],
[207, ["hat", 0], 480, 440, [null, 208, 205]],
[208, ["string", "inner loop"], 541, 452, [207, null]],
[209, "stack", 361, 550, [240, 210, 244]],
[210, ["string", "inner loop"], 422, 550, [209, null]],
[211, ["number", 1], 1111, 728, [216, null]],
[212, ["plus2", 0], 1014, 854, [217, 221, 213]],
[213, ["number", 1], 1068, 896, [212, null]],
[214, "sandwichclampcollapsed", 378, 414, [133, 350, null]],
[215, "heading", 254, 666, [203, null]],
[216, ["minus2", 0], 1014, 686, [219, 223, 211]],
[217, ["storein", 0], 941, 812, [159, 218, 212, null]],
[218, ["string", "level"], 1014, 812, [217, null]],
[219, ["storein", 0], 941, 644, [445, 220, 216, 225]],
[220, ["string", "level"], 1014, 644, [219, null]],
[221, "box", 1068, 854, [212, 222, null]],
[222, ["string", "level"], 1123, 854, [221, null]],
[223, "box", 1087, 686, [216, 224, null]],
[224, ["string", "level"], 1142, 686, [223, null]],
[225, ["vspace", 0], 941, 728, [219, 159]],
[226, "comment", 461, 304, [86, 227, 231]],
[227, ["plus2", 0], 549, 304, [226, 228, 229]],
[228, ["string", "factor "], 603, 304, [227, null]],
[229, "box", 603, 346, [227, 230, null]],
[230, ["string", "factor"], 658, 346, [229, null]],
[231, ["vspace", 0], 461, 346, [226, 98]],
[232, ["number", 1], 661, 802, [235, null]],
[233, "box", 770, 886, [186, 234, null]],
[234, ["string", "level"], 825, 886, [233, null]],
[235, ["plus2", 0], 607, 802, [127, 232, 129]],
[236, "heading", 799, 588, [237, null]],
[237, ["plus2", 0], 745, 588, [104, 236, 106]],
[238, ["hat", 0], 180, 520, [null, 239, 252]],
[239, ["string", "save level"], 241, 532, [238, null]],
[240, "stack", 361, 508, [358, 241, 209]],
[241, ["string", "save level"], 422, 508, [240, null]],
[242, ["hat", 0], 320, 580, [null, 243, 251]],
[243, ["string", "restore level"], 381, 592, [242, null]],
[244, "stack", 361, 592, [209, 245, 353]],
[245, ["string", "restore level"], 422, 592, [244, null]],
[246, "comment", 241, 1370, [454, 247, null]],
[247, ["string", "done"], 329, 1370, [246, null]],
[248, "back", 756, 794, [108, 478, 116]],
[249, "setpensize", 241, 1118, [395, 394, 291]],
[250, ["division2", 0], 368, 994, [467, 281, 279]],
[251, "sandwichclampcollapsed", 338, 634, [242, 370, null]],
[252, "sandwichclampcollapsed", 198, 574, [238, 203, null]],
[253, ["while", 168], 219, 414, [263, 257, 259, null]],
[254, ["storein", 0], 219, 288, [283, 255, 256, 263]],
[255, ["string", "number"], 292, 288, [254, null]],
[256, ["number", 2], 292, 330, [254, null]],
[257, ["less2", 0], 275, 380, [253, 264, 258, null]],
[258, ["number", 101], 355, 422, [257, null]],
[259, ["fillscreen2", 0], 237, 480, [253, 260, 262, 261, 2]],
[260, ["number", 60], 328, 480, [259, null]],
[261, ["number", 100], 328, 564, [259, null]],
[262, "black", 328, 522, [259, null]],
[263, ["vspace", 0], 219, 372, [254, 253]],
[264, "box", 331, 380, [257, 265, null]],
[265, ["string", "number"], 386, 380, [264, null]],
[266, "box", 310, 648, [2, 267, null]],
[267, ["string", "number"], 365, 648, [266, null]],
[268, ["hat", 0], 240, 300, [null, 269, 284]],
[269, ["string", "action"], 301, 312, [268, null]],
[270, "stack", 237, 690, [2, 271, 459]],
[271, ["string", "action"], 298, 690, [270, null]],
[272, "wait", 1047, 398, [477, 463, null]],
[273, ["storein", 0], 237, 774, [459, 274, 278, null]],
[274, ["string", "number"], 310, 774, [273, null]],
[275, ["number", 1], 364, 858, [278, null]],
[276, "box", 364, 816, [278, 277, null]],
[277, ["string", "number"], 419, 816, [276, null]],
[278, ["plus2", 0], 310, 816, [273, 276, 275]],
[279, "box", 463, 1036, [250, 280, null]],
[280, ["string", "number"], 518, 1036, [279, null]],
[281, "box", 439, 994, [250, 282, null]],
[282, ["string", "radius"], 494, 994, [281, null]],
[283, ["forever", 273], 201, 254, [379, 254, null]],
[284, "sandwichclampcollapsed", 258, 354, [268, 91, null]],
[285, "penup", 661, 328, [288, 296]],
[286, "pendown", 661, 454, [296, 303]],
[287, "leftpos", 721, 370, [296, null]],
[288, "setcolor", 661, 286, [377, 289, 285]],
[289, "white", 742, 286, [288, null]],
[290, "red", 322, 1160, [291, null]],
[291, "setcolor", 241, 1160, [249, 290, 405]],
[292, ["hat", 0], 660, 180, [null, 293, 316]],
[293, ["string", "display factors"], 721, 192, [292, null]],
[294, "stack", 241, 1286, [136, 295, 454]],
[295, ["string", "display factors"], 302, 1286, [294, null]],
[296, ["setxy2", 0], 661, 370, [285, 287, 382, 286]],
[297, ["number", 100], 818, 454, [382, null]],
[298, "show", 679, 604, [302, 307, 325]],
[299, ["string", "  prime"], 845, 688, [306, null]],
[300, ["equal2", 0], 717, 504, [302, 304, 301, null]],
[301, ["number", 1], 773, 546, [300, null]],
[302, ["ifelse", [41, 0]],
661, 538, [303, 300, 298, 324, null]],
[303, ["vspace", 0], 661, 496, [286, 302]],
[304, "box", 773, 504, [300, 305, null]],
[305, ["string", "count"], 828, 504, [304, null]],
[306, ["plus2", 0], 791, 646, [307, 469, 299]],
[307, ["plus2", 0], 737, 604, [298, 308, 306]],
[308, ["string", "   "], 791, 604, [307, null]],
[309, "box", 899, 646, [469, 310, null]],
[310, ["string", "number"], 954, 646, [309, null]],
[311, ["setxy2", 0], 781, 846, [314, 312, 313, 315]],
[312, ["number", 0], 841, 846, [311, null]],
[313, ["number", 0], 841, 888, [311, null]],
[314, "penup", 781, 804, [435, 311]],
[315, "pendown", 781, 930, [311, null]],
[316, "sandwichclampcollapsed", 678, 234, [292, 377, null]],
[317, ["plus2", 0], 737, 746, [324, 318, 319]],
[318, ["string", "   "], 791, 746, [317, null]],
[319, ["plus2", 0], 791, 788, [317, 470, 323]],
[320, "box", 899, 788, [470, 321, null]],
[321, ["string", "number"], 954, 788, [320, null]],
[322, ["string", " = "], 899, 830, [323, null]],
[323, ["plus2", 0], 845, 830, [319, 322, 328]],
[324, "show", 679, 746, [302, 317, null]],
[325, ["vspace", 20], 679, 646, [298, null]],
[326, ["storein", 0], 479, 620, [343, 327, 332, 348]],
[327, ["string", "factor string"], 552, 620, [326, null]],
[328, "box", 899, 872, [323, 329, null]],
[329, ["string", "factor string"], 954, 872, [328, null]],
[330, "box", 606, 806, [340, 331, null]],
[331, ["string", "factor string"], 661, 806, [330, null]],
[332, ["plus2", 0], 552, 662, [326, 333, 471]],
[333, ["string", ""], 606, 662, [332, null]],
[334, ["string", " x "], 660, 848, [335, null]],
[335, ["plus2", 0], 606, 848, [340, 334, 472]],
[336, "box", 660, 704, [471, 337, null]],
[337, ["string", "factor"], 715, 704, [336, null]],
[338, "box", 714, 890, [472, 339, null]],
[339, ["string", "factor"], 769, 890, [338, null]],
[340, ["plus2", 0], 552, 806, [341, 330, 335]],
[341, ["storein", 0], 479, 764, [343, 342, 340, null]],
[342, ["string", "factor string"], 552, 764, [341, null]],
[343, ["ifelse", [42, 21]],
461, 554, [90, 347, 326, 341, 349]],
[344, "box", 573, 520, [347, 345, null]],
[345, ["string", "count"], 628, 520, [344, null]],
[346, ["number", 1], 573, 562, [347, null]],
[347, ["equal2", 0], 517, 520, [343, 344, 346, null]],
[348, ["vspace", 0], 479, 704, [326, null]],
[349, ["vspace", 0], 461, 866, [343, 73]],
[350, "seth", 361, 424, [214, 356, 358]],
[351, ["number", 45], 524, 466, [356, null]],
[352, "heading", 524, 424, [356, null]],
[353, "seth", 361, 634, [244, 357, null]],
[354, ["number", 45], 567, 676, [357, null]],
[355, "heading", 543, 634, [357, null]],
[356, ["plus2", 0], 470, 424, [350, 352, 351]],
[357, ["minus2", 0], 470, 634, [353, 355, 354]],
[358, ["vspace", 0], 361, 466, [350, 240]],
[359, "sandwichclampcollapsed", 218, 160, [466, 407, null]],
[360, ["storein", 20], 181, 708, [203, 365, 375, 164]],
[361, ["string", "radius"], 308, 708, [365, null]],
[362, "box", 394, 686, [370, 366, null]],
[363, "box", 308, 750, [365, 364, null]],
[364, ["string", "level"], 363, 750, [363, null]],
[365, ["plus2", 0], 254, 708, [360, 361, 363]],
[366, ["plus2", 0], 449, 686, [362, 367, 368]],
[367, ["string", "radius"], 503, 686, [366, null]],
[368, "box", 503, 728, [366, 369, null]],
[369, ["string", "level"], 558, 728, [368, null]],
[370, ["storein", 0], 321, 644, [251, 371, 362, 372]],
[371, ["string", "radius"], 394, 644, [370, null]],
[372, ["vspace", 0], 321, 728, [370, 204]],
[373, ["if", 21], 181, 998, [172, 374, 167, null]],
[374, ["less2", 0], 237, 964, [373, 169, 392, null]],
[375, "box", 254, 790, [360, 376, null]],
[376, ["string", "radius"], 309, 790, [375, null]],
[377, "seth", 661, 244, [316, 378, 288]],
[378, ["number", 0], 770, 244, [377, null]],
[379, "setscale", 201, 212, [407, 380, 283]],
[380, ["number", 75], 284, 212, [379, null]],
[381, "toppos", 794, 412, [382, null]],
[382, ["minus2", 0], 721, 412, [296, 381, 297]],
[383, "seth", 241, 868, [100, 384, 387]],
[384, ["random", 0], 350, 868, [383, 385, 386, null]],
[385, ["number", 0], 440, 868, [384, null]],
[386, ["number", 180], 440, 910, [384, null]],
[387, ["vspace", 0], 241, 910, [383, 388]],
[388, ["storein", 0], 241, 952, [387, 389, 467, 395]],
[389, ["string", "pensize"], 314, 952, [388, null]],
[390, "box", 866, 668, [396, 391, null]],
[391, ["string", "pensize"], 921, 668, [390, null]],
[392, "box", 317, 1006, [374, 393, null]],
[393, ["string", "pensize"], 372, 1006, [392, null]],
[394, ["number", 1], 351, 1118, [249, null]],
[395, ["vspace", 20], 241, 1036, [388, 249]],
[396, "setpensize", 756, 668, [446, 390, 403]],
[397, "setpensize", 756, 878, [116, 398, 401]],
[398, ["number", 1], 866, 878, [397, null]],
[399, "box", 272, 1106, [167, 400, null]],
[400, ["string", "pensize"], 327, 1106, [399, null]],
[401, "setgray", 756, 920, [397, 402, null]],
[402, ["number", 0], 834, 920, [401, null]],
[403, "setgray", 756, 710, [396, 404, 108]],
[404, ["number", 100], 834, 710, [403, null]],
[405, "setgray", 241, 1202, [291, 406, 136]],
[406, ["number", 0], 319, 1202, [405, null]],
[407, "clean", 201, 170, [359, 379]],
[408, "mousey", 1174, 274, [412, null]],
[409, "height", 1245, 316, [410, null]],
[410, ["division2", 0], 1174, 316, [412, 409, 411]],
[411, ["number", 2], 1269, 358, [410, null]],
[412, ["plus2", 0], 1120, 274, [473, 408, 410]],
[413, ["division2", 0], 1176, 398, [463, 414, 475]],
[414, "height", 1247, 398, [413, null]],
[415, "toppos", 914, 428, [425, null]],
[416, "bottompos", 895, 678, [436, null]],
[417, "rightpos", 914, 346, [424, null]],
[418, ["string", "fast"], 839, 512, [419, null]],
[419, "show", 781, 512, [427, 418, 428]],
[420, ["string", "slow"], 839, 762, [435, null]],
[421, ["setxy2", 20], 781, 346, [426, 424, 425, 427]],
[422, ["number", 200], 938, 388, [424, null]],
[423, ["number", 100], 938, 470, [425, null]],
[424, ["minus2", 0], 841, 346, [421, 417, 422]],
[425, ["minus2", 0], 841, 428, [421, 415, 423]],
[426, "penup", 781, 304, [456, 421]],
[427, "pendown", 781, 470, [421, 419]],
[428, "penup", 781, 554, [419, 429]],
[429, ["setxy2", 20], 781, 596, [428, 430, 436, 434]],
[430, ["minus2", 0], 841, 596, [429, 431, 432]],
[431, "rightpos", 914, 596, [430, null]],
[432, ["number", 200], 938, 638, [430, null]],
[433, ["number", 100], 895, 720, [436, null]],
[434, "pendown", 781, 720, [429, 435]],
[435, "show", 781, 762, [434, 420, 314]],
[436, ["plus2", 0], 841, 678, [429, 416, 433]],
[437, ["hat", 152], 720, 580, [null, 438, 446]],
[438, ["string", "draw point"], 781, 592, [437, null]],
[439, ["hat", 0], 940, 580, [null, 440, 445]],
[440, ["string", "recurse"], 1001, 592, [439, null]],
[441, "stack", 654, 862, [156, 442, null]],
[442, ["string", "draw point"], 715, 862, [441, null]],
[443, "stack", 654, 922, [156, 444, null]],
[444, ["string", "recurse"], 715, 922, [443, null]],
[445, "sandwichclampcollapsed", 958, 634, [439, 219, null]],
[446, ["sandwichclamp", 126], 738, 634, [437, 396, null]],
[447, ["hat", 0], 600, 500, [null, 448, 451]],
[448, ["string", "radiate"], 661, 512, [447, null]],
[449, "stack", 534, 678, [126, 450, 127]],
[450, ["string", "radiate"], 595, 678, [449, null]],
[451, "sandwichclampcollapsed", 618, 554, [447, 104, null]],
[452, ["hat", 0], 780, 240, [null, 453, 456]],
[453, ["string", "display scale"], 841, 252, [452, null]],
[454, "stack", 241, 1328, [294, 455, 246]],
[455, ["string", "display scale"], 302, 1328, [454, null]],
[456, "sandwichclampcollapsed", 798, 294, [452, 426, null]],
[457, ["hat", 0], 1028, 126, [null, 458, 465]],
[458, ["string", "pause"], 1089, 138, [457, null]],
[459, "stack", 237, 732, [270, 460, 273]],
[460, ["string", "pause"], 298, 732, [459, null]],
[461, ["repeat", 83], 1029, 190, [465, 462, 473, null]],
[462, ["number", 10], 1093, 190, [461, null]],
[463, ["division2", 20], 1105, 398, [272, 413, 464]],
[464, ["number", 10], 1200, 480, [463, null]],
[465, "sandwichclampcollapsed", 1046, 180, [457, 461, null]],
[466, "fullscreen", 218, 118, [0, 359]],
[467, ["product2", 20], 314, 994, [388, 250, 468]],
[468, ["number", 2], 368, 1076, [467, null]],
[469, "int", 845, 646, [306, 309]],
[470, "int", 845, 788, [319, 320]],
[471, "int", 606, 704, [332, 336]],
[472, "int", 660, 890, [335, 338]],
[473, ["storein", 0], 1047, 232, [461, 474, 412, 477]],
[474, ["string", "yy"], 1120, 232, [473, null]],
[475, "box", 1271, 440, [413, 476, null]],
[476, ["string", "yy"], 1326, 440, [475, null]],
[477, ["vspace", 20], 1047, 316, [473, 272]],
[478, "box", 814, 794, [248, 479, null]],
[479, ["string", "pensize"], 869, 794, [478, null]],
[480, "box", 830, 752, [108, 481, null]],
[481, ["string", "pensize"], 885, 752, [480, null]],
[-1, ["turtle", "Yertle"], 0.0, 0.0, 0.0, 100.0, 100, 1.0], [-1, "_saved_font_scale", 0, 0, 2.0]]
walterbender commented 6 years ago

The default cairo line cap seems to no longer be round. I'll set it explicitly.

walterbender commented 6 years ago

Regarding fullscreen, it is a bit strange: the first time, it doesn't work properly, but subsequent calls work as expected. Still trying to sort out why.

quozl commented 6 years ago

I've not diagnosed, but I had an unexpected widget not resizing in GTK+ 3 Record, which I worked around by calling widget.queue_resize(). I don't know what the root cause was.

quozl commented 6 years ago

Is fixed as of fbc6122.