| /* |
| * Copyright 2012 Google Inc. |
| * |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| #include "PathOpsExtendedTest.h" |
| #include "PathOpsTestCommon.h" |
| |
| #define TEST(name) { name, #name } |
| |
| static void issue414409(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path1, path2; |
| |
| // one fill 1 |
| path1.moveTo(9.53595e-07f, -60); |
| path1.lineTo(5.08228e-15f, -83); |
| path1.cubicTo(32.8673f, -83, 62.6386f, -63.6055f, 75.9208f, -33.5416f); |
| path1.cubicTo(89.2029f, -3.47759f, 83.4937f, 31.5921f, 61.3615f, 55.8907f); |
| path1.lineTo(46.9383f, 68.4529f); |
| path1.lineTo(33.9313f, 49.484f); |
| path1.cubicTo(37.7451f, 46.8689f, 41.2438f, 43.8216f, 44.3577f, 40.4029f); |
| path1.lineTo(44.3577f, 40.4029f); |
| path1.cubicTo(60.3569f, 22.8376f, 64.4841f, -2.51392f, 54.8825f, -24.2469f); |
| path1.cubicTo(45.2809f, -45.9799f, 23.7595f, -60, 9.53595e-07f, -60); |
| path1.close(); |
| |
| // two fill 0 |
| path2.moveTo(46.9383f, 68.4529f); |
| path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); |
| path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); |
| path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); |
| path2.lineTo(4.22689e-14f, -60); |
| path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); |
| path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f); |
| path2.cubicTo(-15.5552f, 63.4296f, 12.6591f, 64.0704f, 33.9313f, 49.484f); |
| path2.lineTo(46.9383f, 68.4529f); |
| path2.close(); |
| testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename); |
| } |
| |
| static void issue414409b(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path1, path2; |
| // one fill=0 op=2 |
| path1.setFillType((SkPath::FillType) 0); |
| path1.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path1.cubicTo(SkBits2Float(0x41f12edc), SkBits2Float(0xc2a5ffff), SkBits2Float(0x4267b362), SkBits2Float(0xc2854e1f), SkBits2Float(0x42911faa), SkBits2Float(0xc2212f3b)); |
| path1.cubicTo(SkBits2Float(0x42ae65a2), SkBits2Float(0xc15f08de), SkBits2Float(0x42acc913), SkBits2Float(0x41923f59), SkBits2Float(0x428ce9f0), SkBits2Float(0x422f7dc4)); |
| path1.lineTo(SkBits2Float(0x424bbb16), SkBits2Float(0x41fdb8ed)); |
| path1.cubicTo(SkBits2Float(0x4279cf6e), SkBits2Float(0x41537137), SkBits2Float(0x427c23ea), SkBits2Float(0xc1213ad2), SkBits2Float(0x4251d142), SkBits2Float(0xc1e909ae)); |
| path1.cubicTo(SkBits2Float(0x42277e9a), SkBits2Float(0xc240baf8), SkBits2Float(0x41ae5968), SkBits2Float(0xc2700000), SkBits2Float(0x3697ff52), SkBits2Float(0xc2700000)); |
| path1.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path1.close(); |
| |
| path2.setFillType((SkPath::FillType) 1); |
| path2.moveTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6)); |
| path2.cubicTo(SkBits2Float(0x4286af43), SkBits2Float(0x42437fa7), SkBits2Float(0x427ed0d6), SkBits2Float(0x42561f5a), SkBits2Float(0x426e69d2), SkBits2Float(0x42670c39)); |
| path2.lineTo(SkBits2Float(0x422c58d6), SkBits2Float(0x422705c1)); |
| path2.cubicTo(SkBits2Float(0x42383446), SkBits2Float(0x421ac98f), SkBits2Float(0x4242b98a), SkBits2Float(0x420d5308), SkBits2Float(0x424bbb17), SkBits2Float(0x41fdb8ee)); |
| path2.lineTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6)); |
| path2.close(); |
| testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename); |
| } |
| |
| static void issue414409c(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path1, path2; |
| path1.setFillType((SkPath::FillType) 1); |
| path1.moveTo(SkBits2Float(0x36961ef0), SkBits2Float(0xc2700000)); |
| path1.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path1.cubicTo(SkBits2Float(0x3df86648), SkBits2Float(0xc2a60000), SkBits2Float(0x3e786777), SkBits2Float(0xc2a5ffdc), SkBits2Float(0x3eba4dc2), SkBits2Float(0xc2a5ff96)); |
| path1.lineTo(SkBits2Float(0x3eba4dc3), SkBits2Float(0xc2a5ff97)); |
| path1.cubicTo(SkBits2Float(0x3ec08370), SkBits2Float(0xc2a5ff8f), SkBits2Float(0x3ec6b964), SkBits2Float(0xc2a5ff88), SkBits2Float(0x3eccef58), SkBits2Float(0xc2a5ff80)); |
| path1.lineTo(SkBits2Float(0x3e942522), SkBits2Float(0xc26fff49)); |
| path1.cubicTo(SkBits2Float(0x3e8fa7da), SkBits2Float(0xc26fff56), SkBits2Float(0x3e8b2acd), SkBits2Float(0xc26fff61), SkBits2Float(0x3e86adc0), SkBits2Float(0xc26fff6b)); |
| path1.lineTo(SkBits2Float(0x3e86ad6a), SkBits2Float(0xc26fff69)); |
| path1.cubicTo(SkBits2Float(0x3e3391e9), SkBits2Float(0xc26fffce), SkBits2Float(0x3db3931e), SkBits2Float(0xc2700000), SkBits2Float(0x36961ef0), SkBits2Float(0xc2700000)); |
| path1.close(); |
| |
| path2.setFillType((SkPath::FillType) 0); |
| path2.moveTo(SkBits2Float(0x3eccef1a), SkBits2Float(0xc2a5ff81)); |
| path2.cubicTo(SkBits2Float(0x3f18c8a9), SkBits2Float(0xc2a5ff04), SkBits2Float(0x3f4b19b0), SkBits2Float(0xc2a5fe2d), SkBits2Float(0x3f7d6a37), SkBits2Float(0xc2a5fcfa)); |
| path2.lineTo(SkBits2Float(0x3f3730f2), SkBits2Float(0xc26ffba1)); |
| path2.cubicTo(SkBits2Float(0x3f12d1c8), SkBits2Float(0xc26ffd5d), SkBits2Float(0x3edce4b4), SkBits2Float(0xc26ffe95), SkBits2Float(0x3e942577), SkBits2Float(0xc26fff49)); |
| path2.lineTo(SkBits2Float(0x3eccef1a), SkBits2Float(0xc2a5ff81)); |
| path2.close(); |
| |
| testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename); |
| } |
| |
| // fails to draw correctly |
| static void battleOp1(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ea4d9f5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f24d9a9), SkBits2Float(0xc2a5ff0a), SkBits2Float(0x3f774519), SkBits2Float(0xc2a5fd1f)); |
| path.lineTo(SkBits2Float(0x3f32bfc3), SkBits2Float(0xc26ffbd7)); |
| path.cubicTo(SkBits2Float(0x3eee5669), SkBits2Float(0xc26ffe9e), SkBits2Float(0x3e6e56cc), SkBits2Float(0xc2700000), SkBits2Float(0x357ffb40), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3f774503), SkBits2Float(0xc2a5fd1f)); |
| path.cubicTo(SkBits2Float(0x3f7f82ff), SkBits2Float(0xc2a5fcee), SkBits2Float(0x3f83e06d), SkBits2Float(0xc2a5fcbb), SkBits2Float(0x3f87ff59), SkBits2Float(0xc2a5fc85)); |
| path.lineTo(SkBits2Float(0x3f449f80), SkBits2Float(0xc26ffaf7)); |
| path.cubicTo(SkBits2Float(0x3f3eaa52), SkBits2Float(0xc26ffb47), SkBits2Float(0x3f38b4f5), SkBits2Float(0xc26ffb92), SkBits2Float(0x3f32bf98), SkBits2Float(0xc26ffbd9)); |
| path.lineTo(SkBits2Float(0x3f774503), SkBits2Float(0xc2a5fd1f)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp2(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ea4d9e6), SkBits2Float(0xc2a60000), SkBits2Float(0x3f24d99a), SkBits2Float(0xc2a5ff0a), SkBits2Float(0x3f774503), SkBits2Float(0xc2a5fd1f)); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3f87ff64), SkBits2Float(0xc2a5fc85)); |
| path.cubicTo(SkBits2Float(0x3fcac720), SkBits2Float(0xc2a5f91a), SkBits2Float(0x4006c62a), SkBits2Float(0xc2a5f329), SkBits2Float(0x40282667), SkBits2Float(0xc2a5eab4)); |
| path.lineTo(SkBits2Float(0x3ff31bb9), SkBits2Float(0xc26fe136)); |
| path.cubicTo(SkBits2Float(0x3fc2da88), SkBits2Float(0xc26fed71), SkBits2Float(0x3f9295ff), SkBits2Float(0xc26ff607), SkBits2Float(0x3f449f66), SkBits2Float(0xc26ffaf9)); |
| path.lineTo(SkBits2Float(0x3f87ff64), SkBits2Float(0xc2a5fc85)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp3(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f19f03c), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f99ef95), SkBits2Float(0xc2a5fca7), SkBits2Float(0x3fe6e2fa), SkBits2Float(0xc2a5f5f7)); |
| path.lineTo(SkBits2Float(0x3fa6e80c), SkBits2Float(0xc26ff17d)); |
| path.cubicTo(SkBits2Float(0x3f5e8ed4), SkBits2Float(0xc26ffb2a), SkBits2Float(0x3ede8fc6), SkBits2Float(0xc2700000), SkBits2Float(0x35d9fd64), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3fe6e322), SkBits2Float(0xc2a5f5f7)); |
| path.cubicTo(SkBits2Float(0x3fee94fb), SkBits2Float(0xc2a5f54c), SkBits2Float(0x3ff646db), SkBits2Float(0xc2a5f497), SkBits2Float(0x3ffdf8ad), SkBits2Float(0xc2a5f3db)); |
| path.lineTo(SkBits2Float(0x3fb79813), SkBits2Float(0xc26fee71)); |
| path.cubicTo(SkBits2Float(0x3fb20800), SkBits2Float(0xc26fef82), SkBits2Float(0x3fac77ff), SkBits2Float(0xc26ff085), SkBits2Float(0x3fa6e7f4), SkBits2Float(0xc26ff17d)); |
| path.lineTo(SkBits2Float(0x3fe6e322), SkBits2Float(0xc2a5f5f7)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp4(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f19f03c), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f99ef95), SkBits2Float(0xc2a5fca7), SkBits2Float(0x3fe6e322), SkBits2Float(0xc2a5f5f7)); |
| path.cubicTo(SkBits2Float(0x3fee94fb), SkBits2Float(0xc2a5f54c), SkBits2Float(0x3ff646db), SkBits2Float(0xc2a5f497), SkBits2Float(0x3ffdf8ad), SkBits2Float(0xc2a5f3db)); |
| path.lineTo(SkBits2Float(0x3fb79813), SkBits2Float(0xc26fee71)); |
| path.cubicTo(SkBits2Float(0x3fb20808), SkBits2Float(0xc26fef82), SkBits2Float(0x3fac780f), SkBits2Float(0xc26ff085), SkBits2Float(0x3fa6e80c), SkBits2Float(0xc26ff17d)); |
| path.lineTo(SkBits2Float(0x3fa6e7f4), SkBits2Float(0xc26ff17d)); |
| path.cubicTo(SkBits2Float(0x3f5e8eb4), SkBits2Float(0xc26ffb2a), SkBits2Float(0x3ede8fa6), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3ffdf8c6), SkBits2Float(0xc2a5f3db)); |
| path.cubicTo(SkBits2Float(0x403d5556), SkBits2Float(0xc2a5e7ed), SkBits2Float(0x407ba65a), SkBits2Float(0xc2a5d338), SkBits2Float(0x409cf3fe), SkBits2Float(0xc2a5b5bc)); |
| path.lineTo(SkBits2Float(0x4062eb8a), SkBits2Float(0xc26f94a1)); |
| path.cubicTo(SkBits2Float(0x4035ea63), SkBits2Float(0xc26fbf44), SkBits2Float(0x4008de16), SkBits2Float(0xc26fdd35), SkBits2Float(0x3fb79810), SkBits2Float(0xc26fee74)); |
| path.lineTo(SkBits2Float(0x3ffdf8c6), SkBits2Float(0xc2a5f3db)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp5(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3fe06a9b), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40606368), SkBits2Float(0xc2a5e38e), SkBits2Float(0x40a82f8a), SkBits2Float(0xc2a5aab6)); |
| path.lineTo(SkBits2Float(0x40732902), SkBits2Float(0xc26f84b2)); |
| path.cubicTo(SkBits2Float(0x4022355b), SkBits2Float(0xc26fd6e1), SkBits2Float(0x3fa23a8f), SkBits2Float(0xc2700000), SkBits2Float(0xb5600574), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x40a82f91), SkBits2Float(0xc2a5aab7)); |
| path.cubicTo(SkBits2Float(0x40adc8dc), SkBits2Float(0xc2a5a508), SkBits2Float(0x40b361d8), SkBits2Float(0xc2a59f10), SkBits2Float(0x40b8fa82), SkBits2Float(0xc2a598d0)); |
| path.lineTo(SkBits2Float(0x4085b825), SkBits2Float(0xc26f6ad0)); |
| path.cubicTo(SkBits2Float(0x4081ac7b), SkBits2Float(0xc26f73dc), SkBits2Float(0x407b412c), SkBits2Float(0xc26f7c7c), SkBits2Float(0x407328f8), SkBits2Float(0xc26f84b3)); |
| path.lineTo(SkBits2Float(0x40a82f91), SkBits2Float(0xc2a5aab7)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp6(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3fe06a9b), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40606368), SkBits2Float(0xc2a5e38e), SkBits2Float(0x40a82f91), SkBits2Float(0xc2a5aab7)); |
| path.cubicTo(SkBits2Float(0x40adc8dc), SkBits2Float(0xc2a5a508), SkBits2Float(0x40b361d8), SkBits2Float(0xc2a59f10), SkBits2Float(0x40b8fa82), SkBits2Float(0xc2a598d0)); |
| path.lineTo(SkBits2Float(0x4085b825), SkBits2Float(0xc26f6ad0)); |
| path.cubicTo(SkBits2Float(0x4081ac7d), SkBits2Float(0xc26f73dc), SkBits2Float(0x407b4133), SkBits2Float(0xc26f7c7c), SkBits2Float(0x40732902), SkBits2Float(0xc26f84b2)); |
| path.cubicTo(SkBits2Float(0x4022355b), SkBits2Float(0xc26fd6e1), SkBits2Float(0x3fa23a8f), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| path.moveTo(SkBits2Float(0x408fea52), SkBits2Float(0xc28dc28a)); |
| path.lineTo(SkBits2Float(0x407328f8), SkBits2Float(0xc26f84b3)); |
| path.lineTo(SkBits2Float(0x40732903), SkBits2Float(0xc26f84b3)); |
| path.lineTo(SkBits2Float(0x408fea52), SkBits2Float(0xc28dc28a)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x40b8fa77), SkBits2Float(0xc2a598d0)); |
| path.cubicTo(SkBits2Float(0x4109d7e9), SkBits2Float(0xc2a5337c), SkBits2Float(0x4137014a), SkBits2Float(0xc2a483b2), SkBits2Float(0x4163cbb6), SkBits2Float(0xc2a38a24)); |
| path.lineTo(SkBits2Float(0x4124abf0), SkBits2Float(0xc26c715c)); |
| path.cubicTo(SkBits2Float(0x41044af8), SkBits2Float(0xc26dda2b), SkBits2Float(0x40c74ab0), SkBits2Float(0xc26ed852), SkBits2Float(0x4085b82e), SkBits2Float(0xc26f6ad1)); |
| path.lineTo(SkBits2Float(0x40b8fa77), SkBits2Float(0xc2a598d0)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| |
| static void battleOp7(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3de5c884), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3e65c882), SkBits2Float(0xc2a5ffe2), SkBits2Float(0x3eac5645), SkBits2Float(0xc2a5ffa7)); |
| path.lineTo(SkBits2Float(0x3e79297e), SkBits2Float(0xc26fff7f)); |
| path.cubicTo(SkBits2Float(0x3e261bbd), SkBits2Float(0xc26fffd7), SkBits2Float(0x3da61bbf), SkBits2Float(0xc2700000), SkBits2Float(0xb3244c00), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3eac564d), SkBits2Float(0xc2a5ffa7)); |
| path.cubicTo(SkBits2Float(0x3eb21458), SkBits2Float(0xc2a5ffa1), SkBits2Float(0x3eb7d2fc), SkBits2Float(0xc2a5ff9b), SkBits2Float(0x3ebd91a0), SkBits2Float(0xc2a5ff94)); |
| path.lineTo(SkBits2Float(0x3e8909ff), SkBits2Float(0xc26fff64)); |
| path.cubicTo(SkBits2Float(0x3e84e2cf), SkBits2Float(0xc26fff6d), SkBits2Float(0x3e80bc02), SkBits2Float(0xc26fff76), SkBits2Float(0x3e792a69), SkBits2Float(0xc26fff7f)); |
| path.lineTo(SkBits2Float(0x3eac564d), SkBits2Float(0xc2a5ffa7)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp8(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3de5c884), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3e65c882), SkBits2Float(0xc2a5ffe2), SkBits2Float(0x3eac564d), SkBits2Float(0xc2a5ffa7)); |
| path.cubicTo(SkBits2Float(0x3eb21458), SkBits2Float(0xc2a5ffa1), SkBits2Float(0x3eb7d2fc), SkBits2Float(0xc2a5ff9b), SkBits2Float(0x3ebd91a0), SkBits2Float(0xc2a5ff94)); |
| path.lineTo(SkBits2Float(0x3e8909ff), SkBits2Float(0xc26fff64)); |
| path.lineTo(SkBits2Float(0x3e792a69), SkBits2Float(0xc26fff7f)); |
| path.cubicTo(SkBits2Float(0x3e261bbd), SkBits2Float(0xc26fffd7), SkBits2Float(0x3da61bbf), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3ebd921a), SkBits2Float(0xc2a5ff94)); |
| path.cubicTo(SkBits2Float(0x3f0d545f), SkBits2Float(0xc2a5ff29), SkBits2Float(0x3f3bdfbd), SkBits2Float(0xc2a5fe71), SkBits2Float(0x3f6a6ab6), SkBits2Float(0xc2a5fd69)); |
| path.lineTo(SkBits2Float(0x3f297558), SkBits2Float(0xc26ffc43)); |
| path.cubicTo(SkBits2Float(0x3f07d00d), SkBits2Float(0xc26ffdc0), SkBits2Float(0x3ecc550f), SkBits2Float(0xc26ffecc), SkBits2Float(0x3e8909b7), SkBits2Float(0xc26fff65)); |
| path.lineTo(SkBits2Float(0x3ebd921a), SkBits2Float(0xc2a5ff94)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp9(skiatest::Reporter* reporter, const char* filename) { // crashes |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ecc43bf), SkBits2Float(0xc2a60000), SkBits2Float(0x3f4c4385), SkBits2Float(0xc2a5fe87), SkBits2Float(0x3f993163), SkBits2Float(0xc2a5fb95)); |
| path.lineTo(SkBits2Float(0x3f5d7bc4), SkBits2Float(0xc26ff99d)); |
| path.cubicTo(SkBits2Float(0x3f13a919), SkBits2Float(0xc26ffdde), SkBits2Float(0x3e93a998), SkBits2Float(0xc26fffff), SkBits2Float(0x367b7ed0), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95)); |
| path.cubicTo(SkBits2Float(0x3f9e4c7a), SkBits2Float(0xc2a5fb49), SkBits2Float(0x3fa36794), SkBits2Float(0xc2a5fafa), SkBits2Float(0x3fa882aa), SkBits2Float(0xc2a5faa7)); |
| path.lineTo(SkBits2Float(0x3f73a149), SkBits2Float(0xc26ff845)); |
| path.cubicTo(SkBits2Float(0x3f6c3f64), SkBits2Float(0xc26ff8bf), SkBits2Float(0x3f64dd9d), SkBits2Float(0xc26ff931), SkBits2Float(0x3f5d7bcf), SkBits2Float(0xc26ff99f)); |
| path.lineTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| |
| static void battleOp10(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ddcd524), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3e5cd462), SkBits2Float(0xc2a5ffe3), SkBits2Float(0x3ea59eff), SkBits2Float(0xc2a5ffac)); |
| path.lineTo(SkBits2Float(0x3e6f74a3), SkBits2Float(0xc26fff89)); |
| path.cubicTo(SkBits2Float(0x3e1fa33e), SkBits2Float(0xc26fffd9), SkBits2Float(0x3d9fa303), SkBits2Float(0xc2700000), SkBits2Float(0xb580e440), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3ea59f9c), SkBits2Float(0xc2a5ffad)); |
| path.cubicTo(SkBits2Float(0x3eab24c0), SkBits2Float(0xc2a5ffa7), SkBits2Float(0x3eb0aa54), SkBits2Float(0xc2a5ffa1), SkBits2Float(0x3eb62fe9), SkBits2Float(0xc2a5ff9b)); |
| path.lineTo(SkBits2Float(0x3e83b355), SkBits2Float(0xc26fff6f)); |
| path.cubicTo(SkBits2Float(0x3e7f6bdb), SkBits2Float(0xc26fff79), SkBits2Float(0x3e777021), SkBits2Float(0xc26fff81), SkBits2Float(0x3e6f7465), SkBits2Float(0xc26fff8a)); |
| path.lineTo(SkBits2Float(0x3ea59f9c), SkBits2Float(0xc2a5ffad)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp11(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ddcd524), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3e5cd462), SkBits2Float(0xc2a5ffe3), SkBits2Float(0x3ea59f9c), SkBits2Float(0xc2a5ffad)); |
| path.lineTo(SkBits2Float(0x3eb62fe9), SkBits2Float(0xc2a5ff9b)); |
| path.lineTo(SkBits2Float(0x3e83b355), SkBits2Float(0xc26fff6f)); |
| path.cubicTo(SkBits2Float(0x3e7f6bf0), SkBits2Float(0xc26fff79), SkBits2Float(0x3e77704b), SkBits2Float(0xc26fff81), SkBits2Float(0x3e6f74a3), SkBits2Float(0xc26fff89)); |
| path.cubicTo(SkBits2Float(0x3e1fa33e), SkBits2Float(0xc26fffd9), SkBits2Float(0x3d9fa303), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| path.moveTo(SkBits2Float(0x3e7ee007), SkBits2Float(0xc27f7413)); |
| path.lineTo(SkBits2Float(0x3e6f7465), SkBits2Float(0xc26fff8a)); |
| path.lineTo(SkBits2Float(0x3e6f74a4), SkBits2Float(0xc26fff8a)); |
| path.lineTo(SkBits2Float(0x3e7ee007), SkBits2Float(0xc27f7413)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3eb62f8c), SkBits2Float(0xc2a5ff9c)); |
| path.cubicTo(SkBits2Float(0x3f07d31d), SkBits2Float(0xc2a5ff3a), SkBits2Float(0x3f348e3e), SkBits2Float(0xc2a5fe8f), SkBits2Float(0x3f614904), SkBits2Float(0xc2a5fd9c)); |
| path.lineTo(SkBits2Float(0x3f22db6c), SkBits2Float(0xc26ffc8c)); |
| path.cubicTo(SkBits2Float(0x3f0285bf), SkBits2Float(0xc26ffdeb), SkBits2Float(0x3ec45fa5), SkBits2Float(0xc26ffee1), SkBits2Float(0x3e83b387), SkBits2Float(0xc26fff6f)); |
| path.lineTo(SkBits2Float(0x3eb62f8c), SkBits2Float(0xc2a5ff9c)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp12(skiatest::Reporter* reporter, const char* filename) { // crashed |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ecc43bf), SkBits2Float(0xc2a60000), SkBits2Float(0x3f4c4385), SkBits2Float(0xc2a5fe87), SkBits2Float(0x3f993163), SkBits2Float(0xc2a5fb95)); |
| path.lineTo(SkBits2Float(0x3f5d7bc4), SkBits2Float(0xc26ff99d)); |
| path.cubicTo(SkBits2Float(0x3f13a919), SkBits2Float(0xc26ffdde), SkBits2Float(0x3e93a998), SkBits2Float(0xc26fffff), SkBits2Float(0x367b7ed0), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95)); |
| path.cubicTo(SkBits2Float(0x3f9e4c7a), SkBits2Float(0xc2a5fb49), SkBits2Float(0x3fa36794), SkBits2Float(0xc2a5fafa), SkBits2Float(0x3fa882aa), SkBits2Float(0xc2a5faa7)); |
| path.lineTo(SkBits2Float(0x3f73a149), SkBits2Float(0xc26ff845)); |
| path.cubicTo(SkBits2Float(0x3f6c3f64), SkBits2Float(0xc26ff8bf), SkBits2Float(0x3f64dd9d), SkBits2Float(0xc26ff931), SkBits2Float(0x3f5d7bcf), SkBits2Float(0xc26ff99f)); |
| path.lineTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // ../../third_party/tcmalloc/chromium/src/free_list.h:118] Memory corruption detected. |
| |
| static void battleOp13(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ddcd524), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3e5cd462), SkBits2Float(0xc2a5ffe3), SkBits2Float(0x3ea59eff), SkBits2Float(0xc2a5ffac)); |
| path.lineTo(SkBits2Float(0x3e6f74a3), SkBits2Float(0xc26fff89)); |
| path.cubicTo(SkBits2Float(0x3e1fa33e), SkBits2Float(0xc26fffd9), SkBits2Float(0x3d9fa303), SkBits2Float(0xc2700000), SkBits2Float(0xb580e440), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3ea59f9c), SkBits2Float(0xc2a5ffad)); |
| path.cubicTo(SkBits2Float(0x3eab24c0), SkBits2Float(0xc2a5ffa7), SkBits2Float(0x3eb0aa54), SkBits2Float(0xc2a5ffa1), SkBits2Float(0x3eb62fe9), SkBits2Float(0xc2a5ff9b)); |
| path.lineTo(SkBits2Float(0x3e83b355), SkBits2Float(0xc26fff6f)); |
| path.cubicTo(SkBits2Float(0x3e7f6bdb), SkBits2Float(0xc26fff79), SkBits2Float(0x3e777021), SkBits2Float(0xc26fff81), SkBits2Float(0x3e6f7465), SkBits2Float(0xc26fff8a)); |
| path.lineTo(SkBits2Float(0x3ea59f9c), SkBits2Float(0xc2a5ffad)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp14(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3ddcd524), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3e5cd462), SkBits2Float(0xc2a5ffe3), SkBits2Float(0x3ea59f9c), SkBits2Float(0xc2a5ffad)); |
| path.lineTo(SkBits2Float(0x3eb62fe9), SkBits2Float(0xc2a5ff9b)); |
| path.lineTo(SkBits2Float(0x3e83b355), SkBits2Float(0xc26fff6f)); |
| path.cubicTo(SkBits2Float(0x3e7f6bf0), SkBits2Float(0xc26fff79), SkBits2Float(0x3e77704b), SkBits2Float(0xc26fff81), SkBits2Float(0x3e6f74a3), SkBits2Float(0xc26fff89)); |
| path.cubicTo(SkBits2Float(0x3e1fa33e), SkBits2Float(0xc26fffd9), SkBits2Float(0x3d9fa303), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| path.moveTo(SkBits2Float(0x3e7ee007), SkBits2Float(0xc27f7413)); |
| path.lineTo(SkBits2Float(0x3e6f7465), SkBits2Float(0xc26fff8a)); |
| path.lineTo(SkBits2Float(0x3e6f74a4), SkBits2Float(0xc26fff8a)); |
| path.lineTo(SkBits2Float(0x3e7ee007), SkBits2Float(0xc27f7413)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3eb62f8c), SkBits2Float(0xc2a5ff9c)); |
| path.cubicTo(SkBits2Float(0x3f07d31d), SkBits2Float(0xc2a5ff3a), SkBits2Float(0x3f348e3e), SkBits2Float(0xc2a5fe8f), SkBits2Float(0x3f614904), SkBits2Float(0xc2a5fd9c)); |
| path.lineTo(SkBits2Float(0x3f22db6c), SkBits2Float(0xc26ffc8c)); |
| path.cubicTo(SkBits2Float(0x3f0285bf), SkBits2Float(0xc26ffdeb), SkBits2Float(0x3ec45fa5), SkBits2Float(0xc26ffee1), SkBits2Float(0x3e83b387), SkBits2Float(0xc26fff6f)); |
| path.lineTo(SkBits2Float(0x3eb62f8c), SkBits2Float(0xc2a5ff9c)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp15(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f19f03c), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f99ef95), SkBits2Float(0xc2a5fca7), SkBits2Float(0x3fe6e2fa), SkBits2Float(0xc2a5f5f7)); |
| path.lineTo(SkBits2Float(0x3fa6e80c), SkBits2Float(0xc26ff17d)); |
| path.cubicTo(SkBits2Float(0x3f5e8ed4), SkBits2Float(0xc26ffb2a), SkBits2Float(0x3ede8fc6), SkBits2Float(0xc2700000), SkBits2Float(0x35d9fd64), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3fe6e322), SkBits2Float(0xc2a5f5f7)); |
| path.cubicTo(SkBits2Float(0x3fee94fb), SkBits2Float(0xc2a5f54c), SkBits2Float(0x3ff646db), SkBits2Float(0xc2a5f497), SkBits2Float(0x3ffdf8ad), SkBits2Float(0xc2a5f3db)); |
| path.lineTo(SkBits2Float(0x3fb79813), SkBits2Float(0xc26fee71)); |
| path.cubicTo(SkBits2Float(0x3fb20800), SkBits2Float(0xc26fef82), SkBits2Float(0x3fac77ff), SkBits2Float(0xc26ff085), SkBits2Float(0x3fa6e7f4), SkBits2Float(0xc26ff17d)); |
| path.lineTo(SkBits2Float(0x3fe6e322), SkBits2Float(0xc2a5f5f7)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp16(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f19f03c), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f99ef95), SkBits2Float(0xc2a5fca7), SkBits2Float(0x3fe6e322), SkBits2Float(0xc2a5f5f7)); |
| path.cubicTo(SkBits2Float(0x3fee94fb), SkBits2Float(0xc2a5f54c), SkBits2Float(0x3ff646db), SkBits2Float(0xc2a5f497), SkBits2Float(0x3ffdf8ad), SkBits2Float(0xc2a5f3db)); |
| path.lineTo(SkBits2Float(0x3fb79813), SkBits2Float(0xc26fee71)); |
| path.cubicTo(SkBits2Float(0x3fb20808), SkBits2Float(0xc26fef82), SkBits2Float(0x3fac780f), SkBits2Float(0xc26ff085), SkBits2Float(0x3fa6e80c), SkBits2Float(0xc26ff17d)); |
| path.lineTo(SkBits2Float(0x3fa6e7f4), SkBits2Float(0xc26ff17d)); |
| path.cubicTo(SkBits2Float(0x3f5e8eb4), SkBits2Float(0xc26ffb2a), SkBits2Float(0x3ede8fa6), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3ffdf8c6), SkBits2Float(0xc2a5f3db)); |
| path.cubicTo(SkBits2Float(0x403d5556), SkBits2Float(0xc2a5e7ed), SkBits2Float(0x407ba65a), SkBits2Float(0xc2a5d338), SkBits2Float(0x409cf3fe), SkBits2Float(0xc2a5b5bc)); |
| path.lineTo(SkBits2Float(0x4062eb8a), SkBits2Float(0xc26f94a1)); |
| path.cubicTo(SkBits2Float(0x4035ea63), SkBits2Float(0xc26fbf44), SkBits2Float(0x4008de16), SkBits2Float(0xc26fdd35), SkBits2Float(0x3fb79810), SkBits2Float(0xc26fee74)); |
| path.lineTo(SkBits2Float(0x3ffdf8c6), SkBits2Float(0xc2a5f3db)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp17(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f9860dc), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40185ea2), SkBits2Float(0xc2a5f2e2), SkBits2Float(0x40647d09), SkBits2Float(0xc2a5d8aa)); |
| path.lineTo(SkBits2Float(0x40252c2a), SkBits2Float(0xc26fc723)); |
| path.cubicTo(SkBits2Float(0x3fdc4b47), SkBits2Float(0xc26fed09), SkBits2Float(0x3f5c4ea6), SkBits2Float(0xc26ffffe), SkBits2Float(0x3664fea3), SkBits2Float(0xc26ffffe)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x40647d17), SkBits2Float(0xc2a5d8ab)); |
| path.cubicTo(SkBits2Float(0x406c19ae), SkBits2Float(0xc2a5d60b), SkBits2Float(0x4073b608), SkBits2Float(0xc2a5d34a), SkBits2Float(0x407b5230), SkBits2Float(0xc2a5d069)); |
| path.lineTo(SkBits2Float(0x4035ad90), SkBits2Float(0xc26fbb32)); |
| path.cubicTo(SkBits2Float(0x40302d3b), SkBits2Float(0xc26fbf5d), SkBits2Float(0x402aacbf), SkBits2Float(0xc26fc358), SkBits2Float(0x40252c21), SkBits2Float(0xc26fc722)); |
| path.lineTo(SkBits2Float(0x40647d17), SkBits2Float(0xc2a5d8ab)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp18(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3664fea3), SkBits2Float(0xc26ffffe)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f9860dc), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40185ea2), SkBits2Float(0xc2a5f2e2), SkBits2Float(0x40647d17), SkBits2Float(0xc2a5d8ab)); |
| path.cubicTo(SkBits2Float(0x406c19ae), SkBits2Float(0xc2a5d60b), SkBits2Float(0x4073b608), SkBits2Float(0xc2a5d34a), SkBits2Float(0x407b5230), SkBits2Float(0xc2a5d069)); |
| path.lineTo(SkBits2Float(0x4035ad90), SkBits2Float(0xc26fbb32)); |
| path.cubicTo(SkBits2Float(0x40302d3b), SkBits2Float(0xc26fbf5d), SkBits2Float(0x402aacbf), SkBits2Float(0xc26fc358), SkBits2Float(0x40252c2a), SkBits2Float(0xc26fc723)); |
| path.cubicTo(SkBits2Float(0x3fdc4b47), SkBits2Float(0xc26fed09), SkBits2Float(0x3f5c4ea6), SkBits2Float(0xc26ffffe), SkBits2Float(0x3664fea3), SkBits2Float(0xc26ffffe)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x407b523a), SkBits2Float(0xc2a5d069)); |
| path.cubicTo(SkBits2Float(0x40bb53e8), SkBits2Float(0xc2a5a1ad), SkBits2Float(0x40f8dfd1), SkBits2Float(0xc2a5508e), SkBits2Float(0x411b1813), SkBits2Float(0xc2a4dd32)); |
| path.lineTo(SkBits2Float(0x40e03b7c), SkBits2Float(0xc26e5b8f)); |
| path.cubicTo(SkBits2Float(0x40b3e8bb), SkBits2Float(0xc26f0259), SkBits2Float(0x40876aeb), SkBits2Float(0xc26f77a1), SkBits2Float(0x4035ad92), SkBits2Float(0xc26fbb33)); |
| path.lineTo(SkBits2Float(0x407b523a), SkBits2Float(0xc2a5d069)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp19(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x40272e66), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40a7227d), SkBits2Float(0xc2a5c0db), SkBits2Float(0x40fa5a70), SkBits2Float(0xc2a542ca)); |
| path.lineTo(SkBits2Float(0x40b4fa6e), SkBits2Float(0xc26eee73)); |
| path.cubicTo(SkBits2Float(0x4071a3f5), SkBits2Float(0xc26fa4b8), SkBits2Float(0x3ff1b53c), SkBits2Float(0xc2700000), SkBits2Float(0x359dfd46), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x40fa5a6d), SkBits2Float(0xc2a542cb)); |
| path.cubicTo(SkBits2Float(0x4101563b), SkBits2Float(0xc2a5362f), SkBits2Float(0x41057ec0), SkBits2Float(0xc2a528f4), SkBits2Float(0x4109a6c0), SkBits2Float(0xc2a51b18)); |
| path.lineTo(SkBits2Float(0x40c70391), SkBits2Float(0xc26eb50e)); |
| path.cubicTo(SkBits2Float(0x40c10142), SkBits2Float(0xc26ec918), SkBits2Float(0x40bafe32), SkBits2Float(0xc26edc3a), SkBits2Float(0x40b4fa70), SkBits2Float(0xc26eee73)); |
| path.lineTo(SkBits2Float(0x40fa5a6d), SkBits2Float(0xc2a542cb)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp20(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x40272e63), SkBits2Float(0xc2a60000), SkBits2Float(0x40a7227a), SkBits2Float(0xc2a5c0db), SkBits2Float(0x40fa5a6c), SkBits2Float(0xc2a542ca)); |
| path.lineTo(SkBits2Float(0x40fa5a6d), SkBits2Float(0xc2a542cb)); |
| path.cubicTo(SkBits2Float(0x4101563b), SkBits2Float(0xc2a5362f), SkBits2Float(0x41057ec0), SkBits2Float(0xc2a528f4), SkBits2Float(0x4109a6c0), SkBits2Float(0xc2a51b18)); |
| path.lineTo(SkBits2Float(0x40c70391), SkBits2Float(0xc26eb50e)); |
| path.cubicTo(SkBits2Float(0x40c10142), SkBits2Float(0xc26ec918), SkBits2Float(0x40bafe32), SkBits2Float(0xc26edc3a), SkBits2Float(0x40b4fa6e), SkBits2Float(0xc26eee73)); |
| path.cubicTo(SkBits2Float(0x4071a3f5), SkBits2Float(0xc26fa4b8), SkBits2Float(0x3ff1b53c), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4109a6bc), SkBits2Float(0xc2a51b19)); |
| path.cubicTo(SkBits2Float(0x414d093d), SkBits2Float(0xc2a43a61), SkBits2Float(0x4187e474), SkBits2Float(0xc2a2b4fa), SkBits2Float(0x41a8a805), SkBits2Float(0xc2a08e4d)); |
| path.lineTo(SkBits2Float(0x4173d72c), SkBits2Float(0xc2682105)); |
| path.cubicTo(SkBits2Float(0x41447890), SkBits2Float(0xc26b3d2d), SkBits2Float(0x4114380c), SkBits2Float(0xc26d702b), SkBits2Float(0x40c70392), SkBits2Float(0xc26eb510)); |
| path.lineTo(SkBits2Float(0x4109a6bc), SkBits2Float(0xc2a51b19)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp21(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x404ef9c5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40cee321), SkBits2Float(0xc2a59f3a), SkBits2Float(0x411ad5ab), SkBits2Float(0xc2a4de2c)); |
| path.lineTo(SkBits2Float(0x40dfdb77), SkBits2Float(0xc26e5cf8)); |
| path.cubicTo(SkBits2Float(0x40958e99), SkBits2Float(0xc26f7414), SkBits2Float(0x40159f04), SkBits2Float(0xc26ffffe), SkBits2Float(0x36ae7f52), SkBits2Float(0xc26ffffe)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x411ad5aa), SkBits2Float(0xc2a4de2c)); |
| path.cubicTo(SkBits2Float(0x411ff8ea), SkBits2Float(0xc2a4cadf), SkBits2Float(0x41251b3e), SkBits2Float(0xc2a4b69c), SkBits2Float(0x412a3c98), SkBits2Float(0xc2a4a163)); |
| path.lineTo(SkBits2Float(0x40f6200f), SkBits2Float(0xc26e0518)); |
| path.cubicTo(SkBits2Float(0x40eeb53e), SkBits2Float(0xc26e23c6), SkBits2Float(0x40e74902), SkBits2Float(0xc26e4112), SkBits2Float(0x40dfdb73), SkBits2Float(0xc26e5cf8)); |
| path.lineTo(SkBits2Float(0x411ad5aa), SkBits2Float(0xc2a4de2c)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end fail 1 |
| |
| static void battleOp22(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x407fb41a), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40ff895b), SkBits2Float(0xc2a56c4b), SkBits2Float(0x413f077c), SkBits2Float(0xc2a44609)); |
| path.lineTo(SkBits2Float(0x410a17ee), SkBits2Float(0xc26d8104)); |
| path.cubicTo(SkBits2Float(0x40b8b9ab), SkBits2Float(0xc26f2a74), SkBits2Float(0x4038d88b), SkBits2Float(0xc2700000), SkBits2Float(0x337fa8c0), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x413f0780), SkBits2Float(0xc2a44609)); |
| path.cubicTo(SkBits2Float(0x41455a4a), SkBits2Float(0xc2a4289f), SkBits2Float(0x414bab5a), SkBits2Float(0xc2a409bf), SkBits2Float(0x4151fa92), SkBits2Float(0xc2a3e96b)); |
| path.lineTo(SkBits2Float(0x4117cabb), SkBits2Float(0xc26cfb1d)); |
| path.cubicTo(SkBits2Float(0x41133b1d), SkBits2Float(0xc26d29dc), SkBits2Float(0x410eaa27), SkBits2Float(0xc26d567f), SkBits2Float(0x410a17f1), SkBits2Float(0xc26d8105)); |
| path.lineTo(SkBits2Float(0x413f0780), SkBits2Float(0xc2a44609)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp23(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x407fb41a), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40ff895b), SkBits2Float(0xc2a56c4b), SkBits2Float(0x413f0780), SkBits2Float(0xc2a44609)); |
| path.cubicTo(SkBits2Float(0x41455a4a), SkBits2Float(0xc2a4289f), SkBits2Float(0x414bab5a), SkBits2Float(0xc2a409bf), SkBits2Float(0x4151fa92), SkBits2Float(0xc2a3e96b)); |
| path.lineTo(SkBits2Float(0x4117cabb), SkBits2Float(0xc26cfb1d)); |
| path.cubicTo(SkBits2Float(0x41133b1d), SkBits2Float(0xc26d29dc), SkBits2Float(0x410eaa27), SkBits2Float(0xc26d567f), SkBits2Float(0x410a17ee), SkBits2Float(0xc26d8104)); |
| path.cubicTo(SkBits2Float(0x40b8b9ab), SkBits2Float(0xc26f2a74), SkBits2Float(0x4038d88b), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4151fa93), SkBits2Float(0xc2a3e96b)); |
| path.cubicTo(SkBits2Float(0x419c2b7d), SkBits2Float(0xc2a1dce5), SkBits2Float(0x41ce36f8), SkBits2Float(0xc29e52a6), SkBits2Float(0x41fe1a0a), SkBits2Float(0xc2995d2e)); |
| path.lineTo(SkBits2Float(0x41b7b024), SkBits2Float(0xc25dbb29)); |
| path.cubicTo(SkBits2Float(0x41951228), SkBits2Float(0xc264e68b), SkBits2Float(0x4161c9b2), SkBits2Float(0xc26a04c8), SkBits2Float(0x4117cabf), SkBits2Float(0xc26cfb1e)); |
| path.lineTo(SkBits2Float(0x4151fa93), SkBits2Float(0xc2a3e96b)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp24(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x409bc7b0), SkBits2Float(0xc2a5ffff), SkBits2Float(0x411ba103), SkBits2Float(0xc2a524b6), SkBits2Float(0x4168515c), SkBits2Float(0xc2a370af)); |
| path.lineTo(SkBits2Float(0x4127f0cc), SkBits2Float(0xc26c4c8f)); |
| path.cubicTo(SkBits2Float(0x40e1017a), SkBits2Float(0xc26ec2f6), SkBits2Float(0x40613965), SkBits2Float(0xc26fffff), SkBits2Float(0x3655fea5), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4168515e), SkBits2Float(0xc2a370b0)); |
| path.cubicTo(SkBits2Float(0x416ffb5b), SkBits2Float(0xc2a3451c), SkBits2Float(0x4177a23d), SkBits2Float(0xc2a31761), SkBits2Float(0x417f45ca), SkBits2Float(0xc2a2e77f)); |
| path.lineTo(SkBits2Float(0x413888ce), SkBits2Float(0xc26b8638)); |
| path.cubicTo(SkBits2Float(0x41330328), SkBits2Float(0xc26bcb72), SkBits2Float(0x412d7b1a), SkBits2Float(0xc26c0d90), SkBits2Float(0x4127f0cb), SkBits2Float(0xc26c4c90)); |
| path.lineTo(SkBits2Float(0x4168515e), SkBits2Float(0xc2a370b0)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp25(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3655fea5), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x409bc7b0), SkBits2Float(0xc2a5ffff), SkBits2Float(0x411ba103), SkBits2Float(0xc2a524b6), SkBits2Float(0x4168515e), SkBits2Float(0xc2a370b0)); |
| path.cubicTo(SkBits2Float(0x416ffb5b), SkBits2Float(0xc2a3451c), SkBits2Float(0x4177a23d), SkBits2Float(0xc2a31761), SkBits2Float(0x417f45ca), SkBits2Float(0xc2a2e77f)); |
| path.lineTo(SkBits2Float(0x413888ce), SkBits2Float(0xc26b8638)); |
| path.cubicTo(SkBits2Float(0x41330328), SkBits2Float(0xc26bcb72), SkBits2Float(0x412d7b1a), SkBits2Float(0xc26c0d90), SkBits2Float(0x4127f0cc), SkBits2Float(0xc26c4c8f)); |
| path.cubicTo(SkBits2Float(0x40e1017a), SkBits2Float(0xc26ec2f6), SkBits2Float(0x40613965), SkBits2Float(0xc26fffff), SkBits2Float(0x3655fea5), SkBits2Float(0xc26fffff)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x417f45c8), SkBits2Float(0xc2a2e780)); |
| path.cubicTo(SkBits2Float(0x41bda27d), SkBits2Float(0xc29fde49), SkBits2Float(0x41f99531), SkBits2Float(0xc29aa2c4), SkBits2Float(0x4218d569), SkBits2Float(0xc2935d77)); |
| path.lineTo(SkBits2Float(0x41dcf6db), SkBits2Float(0xc2550ed7)); |
| path.cubicTo(SkBits2Float(0x41b46bda), SkBits2Float(0xc25f91e2), SkBits2Float(0x418915db), SkBits2Float(0xc2672288), SkBits2Float(0x413888d2), SkBits2Float(0xc26b8639)); |
| path.lineTo(SkBits2Float(0x417f45c8), SkBits2Float(0xc2a2e780)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp26(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x40b98c15), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41394aaf), SkBits2Float(0xc2a4c8e8), SkBits2Float(0x418a04fa), SkBits2Float(0xc2a25fd2)); |
| path.lineTo(SkBits2Float(0x41478bd6), SkBits2Float(0xc26ac20e)); |
| path.cubicTo(SkBits2Float(0x4105f224), SkBits2Float(0xc26e3e3c), SkBits2Float(0x40862167), SkBits2Float(0xc2700000), SkBits2Float(0xb4d00ae8), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x418a04fd), SkBits2Float(0xc2a25fd2)); |
| path.cubicTo(SkBits2Float(0x418e8d81), SkBits2Float(0xc2a2222a), SkBits2Float(0x41931368), SkBits2Float(0xc2a1e17a), SkBits2Float(0x41979681), SkBits2Float(0xc2a19dc3)); |
| path.lineTo(SkBits2Float(0x415b29c8), SkBits2Float(0xc269a97e)); |
| path.cubicTo(SkBits2Float(0x4154a3c3), SkBits2Float(0xc26a0b66), SkBits2Float(0x414e19b0), SkBits2Float(0xc26a68ed), SkBits2Float(0x41478bd5), SkBits2Float(0xc26ac20f)); |
| path.lineTo(SkBits2Float(0x418a04fd), SkBits2Float(0xc2a25fd2)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp27(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x40b98c15), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41394aaf), SkBits2Float(0xc2a4c8e8), SkBits2Float(0x418a04fd), SkBits2Float(0xc2a25fd2)); |
| path.cubicTo(SkBits2Float(0x418e8d81), SkBits2Float(0xc2a2222a), SkBits2Float(0x41931368), SkBits2Float(0xc2a1e17a), SkBits2Float(0x41979681), SkBits2Float(0xc2a19dc3)); |
| path.lineTo(SkBits2Float(0x415b29c8), SkBits2Float(0xc269a97e)); |
| path.cubicTo(SkBits2Float(0x4154a3c3), SkBits2Float(0xc26a0b66), SkBits2Float(0x414e19b0), SkBits2Float(0xc26a68ed), SkBits2Float(0x41478bd6), SkBits2Float(0xc26ac20e)); |
| path.cubicTo(SkBits2Float(0x4105f224), SkBits2Float(0xc26e3e3c), SkBits2Float(0x40862167), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41979680), SkBits2Float(0xc2a19dc4)); |
| path.cubicTo(SkBits2Float(0x41e0e1b2), SkBits2Float(0xc29d51d4), SkBits2Float(0x42135c08), SkBits2Float(0xc295f036), SkBits2Float(0x42330e86), SkBits2Float(0xc28bc9b7)); |
| path.lineTo(SkBits2Float(0x42017048), SkBits2Float(0xc24a1a63)); |
| path.cubicTo(SkBits2Float(0x41d50cc4), SkBits2Float(0xc258c742), SkBits2Float(0x41a290a5), SkBits2Float(0xc263733c), SkBits2Float(0x415b29c7), SkBits2Float(0xc269a980)); |
| path.lineTo(SkBits2Float(0x41979680), SkBits2Float(0xc2a19dc4)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp28(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x40dd1e63), SkBits2Float(0xc2a5ffff), SkBits2Float(0x415caf98), SkBits2Float(0xc2a44632), SkBits2Float(0x41a3e96c), SkBits2Float(0xc2a0dcda)); |
| path.lineTo(SkBits2Float(0x416cfb1c), SkBits2Float(0xc2689294)); |
| path.cubicTo(SkBits2Float(0x411f8831), SkBits2Float(0xc26d8140), SkBits2Float(0x409fd849), SkBits2Float(0xc2700000), SkBits2Float(0x36b5ff52), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41a3e96b), SkBits2Float(0xc2a0dcda)); |
| path.cubicTo(SkBits2Float(0x41a94306), SkBits2Float(0xc2a085a1), SkBits2Float(0x41ae9839), SkBits2Float(0xc2a02a23), SkBits2Float(0x41b3e8b2), SkBits2Float(0xc29fca67)); |
| path.lineTo(SkBits2Float(0x41820dff), SkBits2Float(0xc26705ca)); |
| path.cubicTo(SkBits2Float(0x417c6d0a), SkBits2Float(0xc2679035), SkBits2Float(0x4174b742), SkBits2Float(0xc268147b), SkBits2Float(0x416cfb1d), SkBits2Float(0xc2689296)); |
| path.lineTo(SkBits2Float(0x41a3e96b), SkBits2Float(0xc2a0dcda)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp29(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x36b5ff52), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x40dd1e62), SkBits2Float(0xc2a60000), SkBits2Float(0x415caf97), SkBits2Float(0xc2a44632), SkBits2Float(0x41a3e96b), SkBits2Float(0xc2a0dcda)); |
| path.lineTo(SkBits2Float(0x416cfb1d), SkBits2Float(0xc2689296)); |
| path.cubicTo(SkBits2Float(0x4174b742), SkBits2Float(0xc268147b), SkBits2Float(0x417c6d0a), SkBits2Float(0xc2679035), SkBits2Float(0x41820dff), SkBits2Float(0xc26705ca)); |
| path.lineTo(SkBits2Float(0x41b3e8b2), SkBits2Float(0xc29fca67)); |
| path.cubicTo(SkBits2Float(0x41ae9839), SkBits2Float(0xc2a02a23), SkBits2Float(0x41a94307), SkBits2Float(0xc2a085a1), SkBits2Float(0x41a3e96c), SkBits2Float(0xc2a0dcda)); |
| path.lineTo(SkBits2Float(0x416cfb1c), SkBits2Float(0xc2689294)); |
| path.cubicTo(SkBits2Float(0x411f8831), SkBits2Float(0xc26d8140), SkBits2Float(0x409fd849), SkBits2Float(0xc2700000), SkBits2Float(0x36b5ff52), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41b3e8b1), SkBits2Float(0xc29fca67)); |
| path.cubicTo(SkBits2Float(0x4205291f), SkBits2Float(0xc299b5bb), SkBits2Float(0x422d73c0), SkBits2Float(0xc28f4fcf), SkBits2Float(0x425064bf), SkBits2Float(0xc2813989)); |
| path.lineTo(SkBits2Float(0x4216a55b), SkBits2Float(0xc23ad4b9)); |
| path.cubicTo(SkBits2Float(0x41fac62f), SkBits2Float(0xc24f329e), SkBits2Float(0x41c0857c), SkBits2Float(0xc25e3b2e), SkBits2Float(0x41820dfe), SkBits2Float(0xc26705cb)); |
| path.lineTo(SkBits2Float(0x41b3e8b1), SkBits2Float(0xc29fca67)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp30(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41028186), SkBits2Float(0xc2a5ffff), SkBits2Float(0x4182264a), SkBits2Float(0xc2a39869), SkBits2Float(0x41c098e8), SkBits2Float(0xc29edd15)); |
| path.lineTo(SkBits2Float(0x418b3a1a), SkBits2Float(0xc265aeac)); |
| path.cubicTo(SkBits2Float(0x413c2b06), SkBits2Float(0xc26c85fe), SkBits2Float(0x40bcaeed), SkBits2Float(0xc2700000), SkBits2Float(0x337fa8c0), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41c098e9), SkBits2Float(0xc29edd15)); |
| path.cubicTo(SkBits2Float(0x41c6d4b6), SkBits2Float(0xc29e642a), SkBits2Float(0x41cd0950), SkBits2Float(0xc29de562), SkBits2Float(0x41d33633), SkBits2Float(0xc29d60c8)); |
| path.lineTo(SkBits2Float(0x4198aee4), SkBits2Float(0xc26388d7)); |
| path.cubicTo(SkBits2Float(0x41943815), SkBits2Float(0xc264488f), SkBits2Float(0x418fbbb2), SkBits2Float(0xc264ffdc), SkBits2Float(0x418b3a19), SkBits2Float(0xc265aeae)); |
| path.lineTo(SkBits2Float(0x41c098e9), SkBits2Float(0xc29edd15)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp31(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41028186), SkBits2Float(0xc2a5ffff), SkBits2Float(0x4182264a), SkBits2Float(0xc2a39869), SkBits2Float(0x41c098e9), SkBits2Float(0xc29edd15)); |
| path.cubicTo(SkBits2Float(0x41c6d4b6), SkBits2Float(0xc29e642a), SkBits2Float(0x41cd0950), SkBits2Float(0xc29de562), SkBits2Float(0x41d33633), SkBits2Float(0xc29d60c8)); |
| path.lineTo(SkBits2Float(0x4198aee4), SkBits2Float(0xc26388d7)); |
| path.cubicTo(SkBits2Float(0x41943816), SkBits2Float(0xc264488f), SkBits2Float(0x418fbbb2), SkBits2Float(0xc264ffda), SkBits2Float(0x418b3a1a), SkBits2Float(0xc265aeac)); |
| path.cubicTo(SkBits2Float(0x413c2b06), SkBits2Float(0xc26c85fe), SkBits2Float(0x40bcaeed), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41d33633), SkBits2Float(0xc29d60c8)); |
| path.cubicTo(SkBits2Float(0x421be102), SkBits2Float(0xc294f1be), SkBits2Float(0x4249615f), SkBits2Float(0xc2869cbc), SkBits2Float(0x426e4d45), SkBits2Float(0xc26729aa)); |
| path.lineTo(SkBits2Float(0x422c4432), SkBits2Float(0xc2271b0a)); |
| path.cubicTo(SkBits2Float(0x42119380), SkBits2Float(0xc2429ec2), SkBits2Float(0x41e15dfd), SkBits2Float(0xc257575a), SkBits2Float(0x4198aee4), SkBits2Float(0xc26388d8)); |
| path.lineTo(SkBits2Float(0x41d33633), SkBits2Float(0xc29d60c8)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp32(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4118c001), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41982d6e), SkBits2Float(0xc2a2b4b2), SkBits2Float(0x41e01284), SkBits2Float(0xc29c4333)); |
| path.lineTo(SkBits2Float(0x41a1fae3), SkBits2Float(0xc261ebf5)); |
| path.cubicTo(SkBits2Float(0x415c0406), SkBits2Float(0xc26b3cc7), SkBits2Float(0x40dcd7ee), SkBits2Float(0xc2700000), SkBits2Float(0x35f7fd46), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41e01286), SkBits2Float(0xc29c4334)); |
| path.cubicTo(SkBits2Float(0x41e73e86), SkBits2Float(0xc29b9ea8), SkBits2Float(0x41ee5f11), SkBits2Float(0xc29af239), SkBits2Float(0x41f57356), SkBits2Float(0xc29a3dfa)); |
| path.lineTo(SkBits2Float(0x41b16f25), SkBits2Float(0xc25f0029)); |
| path.cubicTo(SkBits2Float(0x41ac5112), SkBits2Float(0xc26004c3), SkBits2Float(0x41a72a20), SkBits2Float(0xc260fe11), SkBits2Float(0x41a1fae3), SkBits2Float(0xc261ebf7)); |
| path.lineTo(SkBits2Float(0x41e01286), SkBits2Float(0xc29c4334)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp33(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4118c001), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41982d6e), SkBits2Float(0xc2a2b4b2), SkBits2Float(0x41e01286), SkBits2Float(0xc29c4334)); |
| path.cubicTo(SkBits2Float(0x41e73e86), SkBits2Float(0xc29b9ea8), SkBits2Float(0x41ee5f11), SkBits2Float(0xc29af239), SkBits2Float(0x41f57356), SkBits2Float(0xc29a3dfa)); |
| path.lineTo(SkBits2Float(0x41b16f25), SkBits2Float(0xc25f0029)); |
| path.cubicTo(SkBits2Float(0x41ac5112), SkBits2Float(0xc26004c3), SkBits2Float(0x41a72a20), SkBits2Float(0xc260fe11), SkBits2Float(0x41a1fae3), SkBits2Float(0xc261ebf7)); |
| path.lineTo(SkBits2Float(0x41a1fae3), SkBits2Float(0xc261ebf5)); |
| path.cubicTo(SkBits2Float(0x415c0406), SkBits2Float(0xc26b3cc7), SkBits2Float(0x40dcd7ee), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x41f57359), SkBits2Float(0xc29a3dfa)); |
| path.cubicTo(SkBits2Float(0x42347528), SkBits2Float(0xc28ec218), SkBits2Float(0x42669614), SkBits2Float(0xc276cf04), SkBits2Float(0x4285b481), SkBits2Float(0xc244c364)); |
| path.lineTo(SkBits2Float(0x42414f00), SkBits2Float(0xc20e3d0e)); |
| path.cubicTo(SkBits2Float(0x4226b05a), SkBits2Float(0xc2326a79), SkBits2Float(0x4202738a), SkBits2Float(0xc24e65b9), SkBits2Float(0x41b16f25), SkBits2Float(0xc25f0028)); |
| path.lineTo(SkBits2Float(0x41f57359), SkBits2Float(0xc29a3dfa)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp34(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41360dec), SkBits2Float(0xc2a60000), SkBits2Float(0x41b5150e), SkBits2Float(0xc2a1522b), SkBits2Float(0x42044925), SkBits2Float(0xc29840e5)); |
| path.lineTo(SkBits2Float(0x41bf41a8), SkBits2Float(0xc25c2022)); |
| path.cubicTo(SkBits2Float(0x4182e721), SkBits2Float(0xc2693c30), SkBits2Float(0x41039b08), SkBits2Float(0xc2700000), SkBits2Float(0x3673fea3), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42044925), SkBits2Float(0xc29840e4)); |
| path.cubicTo(SkBits2Float(0x4208721a), SkBits2Float(0xc2975992), SkBits2Float(0x420c9178), SkBits2Float(0xc296675c), SkBits2Float(0x4210a695), SkBits2Float(0xc2956a6a)); |
| path.lineTo(SkBits2Float(0x41d1222e), SkBits2Float(0xc25805ce)); |
| path.cubicTo(SkBits2Float(0x41cb3b2f), SkBits2Float(0xc2597382), SkBits2Float(0x41c5455b), SkBits2Float(0xc25ad1b2), SkBits2Float(0x41bf41a9), SkBits2Float(0xc25c2023)); |
| path.lineTo(SkBits2Float(0x42044925), SkBits2Float(0xc29840e4)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp35(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3673fea3), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41360dec), SkBits2Float(0xc2a60000), SkBits2Float(0x41b5150e), SkBits2Float(0xc2a1522b), SkBits2Float(0x42044925), SkBits2Float(0xc29840e5)); |
| path.lineTo(SkBits2Float(0x4210a695), SkBits2Float(0xc2956a6a)); |
| path.lineTo(SkBits2Float(0x41d1222e), SkBits2Float(0xc25805ce)); |
| path.cubicTo(SkBits2Float(0x41cb3b2f), SkBits2Float(0xc2597382), SkBits2Float(0x41c5455b), SkBits2Float(0xc25ad1b2), SkBits2Float(0x41bf41a9), SkBits2Float(0xc25c2023)); |
| path.lineTo(SkBits2Float(0x41bf41a8), SkBits2Float(0xc25c2022)); |
| path.cubicTo(SkBits2Float(0x4182e721), SkBits2Float(0xc2693c30), SkBits2Float(0x41039b08), SkBits2Float(0xc2700000), SkBits2Float(0x3673fea3), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4210a693), SkBits2Float(0xc2956a6a)); |
| path.cubicTo(SkBits2Float(0x42536b4d), SkBits2Float(0xc2854182), SkBits2Float(0x4284b863), SkBits2Float(0xc254c33a), SkBits2Float(0x42950c68), SkBits2Float(0xc2122882)); |
| path.lineTo(SkBits2Float(0x42577de3), SkBits2Float(0xc1d35027)); |
| path.cubicTo(SkBits2Float(0x423fe27d), SkBits2Float(0xc219cde7), SkBits2Float(0x4218d548), SkBits2Float(0xc240a8bd), SkBits2Float(0x41d1222f), SkBits2Float(0xc25805ce)); |
| path.lineTo(SkBits2Float(0x4210a693), SkBits2Float(0xc2956a6a)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp36(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x414e6589), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41ccf9e5), SkBits2Float(0xc29ffc89), SkBits2Float(0x4214a0bb), SkBits2Float(0xc2946fc8)); |
| path.lineTo(SkBits2Float(0x41d6e236), SkBits2Float(0xc2569b72)); |
| path.cubicTo(SkBits2Float(0x41942cf0), SkBits2Float(0xc2674e45), SkBits2Float(0x411533d1), SkBits2Float(0xc2700000), SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4214a0bb), SkBits2Float(0xc2946fc9)); |
| path.cubicTo(SkBits2Float(0x421938a6), SkBits2Float(0xc293496b), SkBits2Float(0x421dc2c1), SkBits2Float(0xc2921574), SkBits2Float(0x42223e19), SkBits2Float(0xc290d421)); |
| path.lineTo(SkBits2Float(0x41ea914d), SkBits2Float(0xc251640c)); |
| path.cubicTo(SkBits2Float(0x41e4167f), SkBits2Float(0xc253349e), SkBits2Float(0x41dd8659), SkBits2Float(0xc254f1de), SkBits2Float(0x41d6e239), SkBits2Float(0xc2569b73)); |
| path.lineTo(SkBits2Float(0x4214a0bb), SkBits2Float(0xc2946fc9)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp37(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x414e6589), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41ccf9e5), SkBits2Float(0xc29ffc89), SkBits2Float(0x4214a0bb), SkBits2Float(0xc2946fc9)); |
| path.cubicTo(SkBits2Float(0x421938a6), SkBits2Float(0xc293496b), SkBits2Float(0x421dc2c1), SkBits2Float(0xc2921574), SkBits2Float(0x42223e19), SkBits2Float(0xc290d421)); |
| path.lineTo(SkBits2Float(0x41ea914d), SkBits2Float(0xc251640c)); |
| path.cubicTo(SkBits2Float(0x41e4167f), SkBits2Float(0xc253349e), SkBits2Float(0x41dd8659), SkBits2Float(0xc254f1de), SkBits2Float(0x41d6e239), SkBits2Float(0xc2569b73)); |
| path.lineTo(SkBits2Float(0x41d6e236), SkBits2Float(0xc2569b72)); |
| path.cubicTo(SkBits2Float(0x41942cf0), SkBits2Float(0xc2674e45), SkBits2Float(0x411533d1), SkBits2Float(0xc2700000), SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42223e19), SkBits2Float(0xc290d422)); |
| path.cubicTo(SkBits2Float(0x426bbc38), SkBits2Float(0xc2787e1d), SkBits2Float(0x42916a94), SkBits2Float(0xc234ee59), SkBits2Float(0x429e2fac), SkBits2Float(0xc1c951fc)); |
| path.lineTo(SkBits2Float(0x4264b3f7), SkBits2Float(0xc191885f)); |
| path.cubicTo(SkBits2Float(0x42523d91), SkBits2Float(0xc202cb25), SkBits2Float(0x422a6939), SkBits2Float(0xc233a21b), SkBits2Float(0x41ea914d), SkBits2Float(0xc251640d)); |
| path.lineTo(SkBits2Float(0x42223e19), SkBits2Float(0xc290d422)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp38(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x416c96cf), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41ea70fe), SkBits2Float(0xc29e1973), SkBits2Float(0x422836c6), SkBits2Float(0xc28f1d8a)); |
| path.lineTo(SkBits2Float(0x41f3336d), SkBits2Float(0xc24ee9f1)); |
| path.cubicTo(SkBits2Float(0x41a979c6), SkBits2Float(0xc26493d6), SkBits2Float(0x412b073c), SkBits2Float(0xc2700000), SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x422836c5), SkBits2Float(0xc28f1d8b)); |
| path.cubicTo(SkBits2Float(0x422d4896), SkBits2Float(0xc28da02f), SkBits2Float(0x423245ea), SkBits2Float(0xc28c11a8), SkBits2Float(0x42372d65), SkBits2Float(0xc28a7261)); |
| path.lineTo(SkBits2Float(0x42046ad7), SkBits2Float(0xc24829ff)); |
| path.cubicTo(SkBits2Float(0x4200df44), SkBits2Float(0xc24a8267), SkBits2Float(0x41fa87ca), SkBits2Float(0xc24cc296), SkBits2Float(0x41f3336d), SkBits2Float(0xc24ee9f1)); |
| path.lineTo(SkBits2Float(0x422836c5), SkBits2Float(0xc28f1d8b)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp39(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x416c96cf), SkBits2Float(0xc2a5ffff), SkBits2Float(0x41ea70fe), SkBits2Float(0xc29e1973), SkBits2Float(0x422836c5), SkBits2Float(0xc28f1d8b)); |
| path.cubicTo(SkBits2Float(0x422d4896), SkBits2Float(0xc28da02f), SkBits2Float(0x423245ea), SkBits2Float(0xc28c11a8), SkBits2Float(0x42372d65), SkBits2Float(0xc28a7261)); |
| path.lineTo(SkBits2Float(0x42046ad7), SkBits2Float(0xc24829ff)); |
| path.cubicTo(SkBits2Float(0x4200df44), SkBits2Float(0xc24a8267), SkBits2Float(0x41fa87ca), SkBits2Float(0xc24cc296), SkBits2Float(0x41f3336d), SkBits2Float(0xc24ee9f1)); |
| path.cubicTo(SkBits2Float(0x41a979c6), SkBits2Float(0xc26493d6), SkBits2Float(0x412b073c), SkBits2Float(0xc2700000), SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42372d65), SkBits2Float(0xc28a7262)); |
| path.cubicTo(SkBits2Float(0x4283f2b3), SkBits2Float(0xc25f7e9c), SkBits2Float(0x429ea5c2), SkBits2Float(0xc2098801), SkBits2Float(0x42a4b292), SkBits2Float(0xc12607b1)); |
| path.lineTo(SkBits2Float(0x426e1def), SkBits2Float(0xc0f00b21)); |
| path.cubicTo(SkBits2Float(0x42655eb1), SkBits2Float(0xc1c6d725), SkBits2Float(0x423ec4ad), SkBits2Float(0xc2218ff6), SkBits2Float(0x42046ad7), SkBits2Float(0xc2482a00)); |
| path.lineTo(SkBits2Float(0x42372d65), SkBits2Float(0xc28a7262)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp40(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4184d4a8), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42034ddf), SkBits2Float(0xc29c0a4c), SkBits2Float(0x423a47b2), SkBits2Float(0xc289686d)); |
| path.lineTo(SkBits2Float(0x4206a908), SkBits2Float(0xc246a97c)); |
| path.cubicTo(SkBits2Float(0x41bdd65f), SkBits2Float(0xc26199af), SkBits2Float(0x41400b5c), SkBits2Float(0xc2700000), SkBits2Float(0xb560056c), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x423a47b2), SkBits2Float(0xc289686d)); |
| path.cubicTo(SkBits2Float(0x423fbcc3), SkBits2Float(0xc2878eef), SkBits2Float(0x4245154e), SkBits2Float(0xc285a0be), SkBits2Float(0x424a4f85), SkBits2Float(0xc2839e81)); |
| path.lineTo(SkBits2Float(0x42123fa7), SkBits2Float(0xc23e4af2)); |
| path.cubicTo(SkBits2Float(0x420e7846), SkBits2Float(0xc241326c), SkBits2Float(0x420a9af5), SkBits2Float(0xc243fcec), SkBits2Float(0x4206a907), SkBits2Float(0xc246a97c)); |
| path.lineTo(SkBits2Float(0x423a47b2), SkBits2Float(0xc289686d)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end fail 1 |
| |
| static void battleOp41(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4196c4f9), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42148669), SkBits2Float(0xc2992c23), SkBits2Float(0x424f6452), SkBits2Float(0xc281a081)); |
| path.lineTo(SkBits2Float(0x4215ebfd), SkBits2Float(0xc23b6999)); |
| path.cubicTo(SkBits2Float(0x41d6bc2a), SkBits2Float(0xc25d7441), SkBits2Float(0x4159fada), SkBits2Float(0xc2700000), SkBits2Float(0xb560056c), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x424f6452), SkBits2Float(0xc281a081)); |
| path.cubicTo(SkBits2Float(0x42553921), SkBits2Float(0xc27e96d1), SkBits2Float(0x425ae53b), SkBits2Float(0xc279ba9d), SkBits2Float(0x42606622), SkBits2Float(0xc274ae80)); |
| path.lineTo(SkBits2Float(0x42223753), SkBits2Float(0xc230e0d8)); |
| path.cubicTo(SkBits2Float(0x421e3cd8), SkBits2Float(0xc23486e8), SkBits2Float(0x421a2322), SkBits2Float(0xc2380a55), SkBits2Float(0x4215ebfe), SkBits2Float(0xc23b6999)); |
| path.lineTo(SkBits2Float(0x424f6452), SkBits2Float(0xc281a081)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp42(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4196c4f9), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42148669), SkBits2Float(0xc2992c23), SkBits2Float(0x424f6452), SkBits2Float(0xc281a081)); |
| path.cubicTo(SkBits2Float(0x42553921), SkBits2Float(0xc27e96d1), SkBits2Float(0x425ae53b), SkBits2Float(0xc279ba9d), SkBits2Float(0x42606622), SkBits2Float(0xc274ae80)); |
| path.lineTo(SkBits2Float(0x42223753), SkBits2Float(0xc230e0d8)); |
| path.cubicTo(SkBits2Float(0x421e3cd8), SkBits2Float(0xc23486e8), SkBits2Float(0x421a2322), SkBits2Float(0xc2380a55), SkBits2Float(0x4215ebfd), SkBits2Float(0xc23b6999)); |
| path.cubicTo(SkBits2Float(0x41d6bc2a), SkBits2Float(0xc25d7441), SkBits2Float(0x4159fada), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42606622), SkBits2Float(0xc274ae80)); |
| path.cubicTo(SkBits2Float(0x429deeac), SkBits2Float(0xc220cc44), SkBits2Float(0x42b0742c), SkBits2Float(0xc1039d5c), SkBits2Float(0x42a03731), SkBits2Float(0x41adc1b3)); |
| path.lineTo(SkBits2Float(0x4267a314), SkBits2Float(0x417b36e3)); |
| path.cubicTo(SkBits2Float(0x427f1d2c), SkBits2Float(0xc0be4950), SkBits2Float(0x426455fc), SkBits2Float(0xc1e87a9a), SkBits2Float(0x42223754), SkBits2Float(0xc230e0d7)); |
| path.lineTo(SkBits2Float(0x42606622), SkBits2Float(0xc274ae80)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp43(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41aa5d9e), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42271b56), SkBits2Float(0xc295a109), SkBits2Float(0x4264d340), SkBits2Float(0xc2708c1d)); |
| path.lineTo(SkBits2Float(0x42256a74), SkBits2Float(0xc22de3bf)); |
| path.cubicTo(SkBits2Float(0x41f199ac), SkBits2Float(0xc25854c9), SkBits2Float(0x41764fdb), SkBits2Float(0xc2700000), SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4264d342), SkBits2Float(0xc2708c1d)); |
| path.cubicTo(SkBits2Float(0x426aec59), SkBits2Float(0xc26abf16), SkBits2Float(0x4270cc6c), SkBits2Float(0xc264b73d), SkBits2Float(0x42767031), SkBits2Float(0xc25e77e8)); |
| path.lineTo(SkBits2Float(0x423225ec), SkBits2Float(0xc220d20e)); |
| path.cubicTo(SkBits2Float(0x422e123c), SkBits2Float(0xc2255633), SkBits2Float(0x4229d2f5), SkBits2Float(0xc229b23c), SkBits2Float(0x42256a74), SkBits2Float(0xc22de3c0)); |
| path.lineTo(SkBits2Float(0x4264d342), SkBits2Float(0xc2708c1d)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp44(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41aa5d9e), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42271b56), SkBits2Float(0xc295a109), SkBits2Float(0x4264d340), SkBits2Float(0xc2708c1d)); |
| path.lineTo(SkBits2Float(0x4264d342), SkBits2Float(0xc2708c1d)); |
| path.cubicTo(SkBits2Float(0x426aec59), SkBits2Float(0xc26abf16), SkBits2Float(0x4270cc6c), SkBits2Float(0xc264b73d), SkBits2Float(0x42767031), SkBits2Float(0xc25e77e8)); |
| path.lineTo(SkBits2Float(0x423225ec), SkBits2Float(0xc220d20e)); |
| path.cubicTo(SkBits2Float(0x422e123c), SkBits2Float(0xc2255633), SkBits2Float(0x4229d2f5), SkBits2Float(0xc229b23c), SkBits2Float(0x42256a74), SkBits2Float(0xc22de3c0)); |
| path.lineTo(SkBits2Float(0x42256a74), SkBits2Float(0xc22de3bf)); |
| path.cubicTo(SkBits2Float(0x41f199ac), SkBits2Float(0xc25854c9), SkBits2Float(0x41764fdb), SkBits2Float(0xc2700000), SkBits2Float(0x3637fea5), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42767032), SkBits2Float(0xc25e77e8)); |
| path.cubicTo(SkBits2Float(0x42aa697a), SkBits2Float(0xc1ebd370), SkBits2Float(0x42b37ad4), SkBits2Float(0x410b48c2), SkBits2Float(0x4291d766), SkBits2Float(0x421e927b)); |
| path.lineTo(SkBits2Float(0x4252dae4), SkBits2Float(0x41e542d2)); |
| path.cubicTo(SkBits2Float(0x4281be95), SkBits2Float(0x40c95ff9), SkBits2Float(0x427660fe), SkBits2Float(0xc1aa7a03), SkBits2Float(0x423225ed), SkBits2Float(0xc220d20e)); |
| path.lineTo(SkBits2Float(0x42767032), SkBits2Float(0xc25e77e8)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp45(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41bfbd07), SkBits2Float(0xc2a5ffff), SkBits2Float(0x423b0ef1), SkBits2Float(0xc2914772), SkBits2Float(0x427a1b1d), SkBits2Float(0xc25a5641)); |
| path.lineTo(SkBits2Float(0x4234ccaa), SkBits2Float(0xc21dd57d)); |
| path.cubicTo(SkBits2Float(0x42073912), SkBits2Float(0xc2520ac5), SkBits2Float(0x418a9b2a), SkBits2Float(0xc26fffff), SkBits2Float(0x3697ff52), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x427a1b1e), SkBits2Float(0xc25a5642)); |
| path.cubicTo(SkBits2Float(0x4280286a), SkBits2Float(0xc253393c), SkBits2Float(0x42831c11), SkBits2Float(0xc24bd939), SkBits2Float(0x4285e673), SkBits2Float(0xc2443b5f)); |
| path.lineTo(SkBits2Float(0x42419733), SkBits2Float(0xc20ddaba)); |
| path.cubicTo(SkBits2Float(0x423d8e5d), SkBits2Float(0xc2135c44), SkBits2Float(0x423949dc), SkBits2Float(0xc218b118), SkBits2Float(0x4234ccac), SkBits2Float(0xc21dd57e)); |
| path.lineTo(SkBits2Float(0x427a1b1e), SkBits2Float(0xc25a5642)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp46(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3697ff52), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41bfbd07), SkBits2Float(0xc2a5ffff), SkBits2Float(0x423b0ef1), SkBits2Float(0xc2914772), SkBits2Float(0x427a1b1e), SkBits2Float(0xc25a5642)); |
| path.cubicTo(SkBits2Float(0x4280286a), SkBits2Float(0xc253393c), SkBits2Float(0x42831c11), SkBits2Float(0xc24bd939), SkBits2Float(0x4285e673), SkBits2Float(0xc2443b5f)); |
| path.lineTo(SkBits2Float(0x42419733), SkBits2Float(0xc20ddaba)); |
| path.cubicTo(SkBits2Float(0x423d8e5d), SkBits2Float(0xc2135c44), SkBits2Float(0x423949dc), SkBits2Float(0xc218b118), SkBits2Float(0x4234ccac), SkBits2Float(0xc21dd57e)); |
| path.lineTo(SkBits2Float(0x4234ccaa), SkBits2Float(0xc21dd57d)); |
| path.cubicTo(SkBits2Float(0x42073912), SkBits2Float(0xc2520ac5), SkBits2Float(0x418a9b2a), SkBits2Float(0xc26fffff), SkBits2Float(0x3697ff52), SkBits2Float(0xc26fffff)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4285e672), SkBits2Float(0xc2443b5f)); |
| path.cubicTo(SkBits2Float(0x42b50145), SkBits2Float(0xc1875361), SkBits2Float(0x42afc74e), SkBits2Float(0x41db6d5e), SkBits2Float(0x4272e616), SkBits2Float(0x426253de)); |
| path.lineTo(SkBits2Float(0x422f96e8), SkBits2Float(0x42239c3e)); |
| path.cubicTo(SkBits2Float(0x427e233c), SkBits2Float(0x419e9f42), SkBits2Float(0x4282d8d3), SkBits2Float(0xc143a6d1), SkBits2Float(0x42419734), SkBits2Float(0xc20ddabb)); |
| path.lineTo(SkBits2Float(0x4285e672), SkBits2Float(0xc2443b5f)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp47(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41d59904), SkBits2Float(0xc2a5ffff), SkBits2Float(0x424f13ae), SkBits2Float(0xc28c4fb7), SkBits2Float(0x4286bb70), SkBits2Float(0xc241f0ca)); |
| path.lineTo(SkBits2Float(0x4242cb24), SkBits2Float(0xc20c32b1)); |
| path.cubicTo(SkBits2Float(0x4215b1b4), SkBits2Float(0xc24adc20), SkBits2Float(0x419a6875), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4286bb71), SkBits2Float(0xc241f0ca)); |
| path.cubicTo(SkBits2Float(0x4289cb2b), SkBits2Float(0xc2396eee), SkBits2Float(0x428ca6e5), SkBits2Float(0xc230a410), SkBits2Float(0x428f4c27), SkBits2Float(0xc22797c0)); |
| path.lineTo(SkBits2Float(0x424f2d54), SkBits2Float(0xc1f24d85)); |
| path.cubicTo(SkBits2Float(0x424b5a2a), SkBits2Float(0xc1ff6268), SkBits2Float(0x42473840), SkBits2Float(0xc2060c56), SkBits2Float(0x4242cb25), SkBits2Float(0xc20c32b2)); |
| path.lineTo(SkBits2Float(0x4286bb71), SkBits2Float(0xc241f0ca)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp48(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41d59904), SkBits2Float(0xc2a5ffff), SkBits2Float(0x424f13ae), SkBits2Float(0xc28c4fb7), SkBits2Float(0x4286bb71), SkBits2Float(0xc241f0ca)); |
| path.cubicTo(SkBits2Float(0x4289cb2b), SkBits2Float(0xc2396eee), SkBits2Float(0x428ca6e5), SkBits2Float(0xc230a410), SkBits2Float(0x428f4c27), SkBits2Float(0xc22797c0)); |
| path.lineTo(SkBits2Float(0x424f2d54), SkBits2Float(0xc1f24d85)); |
| path.cubicTo(SkBits2Float(0x424b5a2a), SkBits2Float(0xc1ff6268), SkBits2Float(0x42473840), SkBits2Float(0xc2060c56), SkBits2Float(0x4242cb24), SkBits2Float(0xc20c32b1)); |
| path.cubicTo(SkBits2Float(0x4215b1b4), SkBits2Float(0xc24adc20), SkBits2Float(0x419a6875), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x428f4c27), SkBits2Float(0xc22797c0)); |
| path.cubicTo(SkBits2Float(0x42bc6513), SkBits2Float(0xc055a915), SkBits2Float(0x42a45eb2), SkBits2Float(0x42389acf), SkBits2Float(0x4231df29), SkBits2Float(0x428c2a69)); |
| path.lineTo(SkBits2Float(0x420094fc), SkBits2Float(0x424aa62f)); |
| path.cubicTo(SkBits2Float(0x426da4ad), SkBits2Float(0x42057300), SkBits2Float(0x42883065), SkBits2Float(0xc01a7416), SkBits2Float(0x424f2d56), SkBits2Float(0xc1f24d87)); |
| path.lineTo(SkBits2Float(0x428f4c27), SkBits2Float(0xc22797c0)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp49(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41eed329), SkBits2Float(0xc2a5ffff), SkBits2Float(0x4265a038), SkBits2Float(0xc285ef96), SkBits2Float(0x42905111), SkBits2Float(0xc2240eac)); |
| path.lineTo(SkBits2Float(0x4250a68d), SkBits2Float(0xc1ed30fa)); |
| path.cubicTo(SkBits2Float(0x4225fe9e), SkBits2Float(0xc241a46c), SkBits2Float(0x41aca4fc), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42905111), SkBits2Float(0xc2240ead)); |
| path.cubicTo(SkBits2Float(0x429332f8), SkBits2Float(0xc219ea36), SkBits2Float(0x4295cfef), SkBits2Float(0xc20f79c4), SkBits2Float(0x4298252c), SkBits2Float(0xc204c875)); |
| path.lineTo(SkBits2Float(0x425bf80f), SkBits2Float(0xc1bff9b9)); |
| path.cubicTo(SkBits2Float(0x42589896), SkBits2Float(0xc1cf6f48), SkBits2Float(0x4254d168), SkBits2Float(0xc1de8710), SkBits2Float(0x4250a68e), SkBits2Float(0xc1ed30fc)); |
| path.lineTo(SkBits2Float(0x42905111), SkBits2Float(0xc2240ead)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp50(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x41eed328), SkBits2Float(0xc2a60000), SkBits2Float(0x4265a038), SkBits2Float(0xc285ef96), SkBits2Float(0x42905111), SkBits2Float(0xc2240ead)); |
| path.lineTo(SkBits2Float(0x42905111), SkBits2Float(0xc2240eac)); |
| path.cubicTo(SkBits2Float(0x429332f8), SkBits2Float(0xc219ea35), SkBits2Float(0x4295cfef), SkBits2Float(0xc20f79c4), SkBits2Float(0x4298252c), SkBits2Float(0xc204c875)); |
| path.lineTo(SkBits2Float(0x425bf80f), SkBits2Float(0xc1bff9b9)); |
| path.cubicTo(SkBits2Float(0x42589896), SkBits2Float(0xc1cf6f48), SkBits2Float(0x4254d168), SkBits2Float(0xc1de8710), SkBits2Float(0x4250a68d), SkBits2Float(0xc1ed30fa)); |
| path.cubicTo(SkBits2Float(0x4225fe9e), SkBits2Float(0xc241a46c), SkBits2Float(0x41aca4fc), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4298252d), SkBits2Float(0xc204c875)); |
| path.cubicTo(SkBits2Float(0x42ab560c), SkBits2Float(0xc1334da0), SkBits2Float(0x42aa8ee6), SkBits2Float(0x415dbf57), SkBits2Float(0x4296030d), SkBits2Float(0x420e292a)); |
| path.cubicTo(SkBits2Float(0x42817734), SkBits2Float(0x4264e27f), SkBits2Float(0x42365290), SkBits2Float(0x4292cae0), SkBits2Float(0x41b3e39e), SkBits2Float(0x429fcac3)); |
| path.lineTo(SkBits2Float(0x41820a52), SkBits2Float(0x4267064e)); |
| path.cubicTo(SkBits2Float(0x4203cca7), SkBits2Float(0x42543ae9), SkBits2Float(0x423b2de4), SkBits2Float(0x42257578), SkBits2Float(0x4258e27d), SkBits2Float(0x41cd88a1)); |
| path.cubicTo(SkBits2Float(0x42769717), SkBits2Float(0x41204ca2), SkBits2Float(0x4277b705), SkBits2Float(0xc1019de9), SkBits2Float(0x425bf810), SkBits2Float(0xc1bff9bb)); |
| path.lineTo(SkBits2Float(0x4298252d), SkBits2Float(0xc204c875)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp51(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x42044d64), SkBits2Float(0xc2a5ffff), SkBits2Float(0x427bf9ef), SkBits2Float(0xc27d72ab), SkBits2Float(0x42984d42), SkBits2Float(0xc2041029)); |
| path.lineTo(SkBits2Float(0x425c3202), SkBits2Float(0xc1beef44)); |
| path.cubicTo(SkBits2Float(0x423626cb), SkBits2Float(0xc2373722), SkBits2Float(0x41bf47cb), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42984d42), SkBits2Float(0xc2041029)); |
| path.cubicTo(SkBits2Float(0x429adc06), SkBits2Float(0xc1f08771), SkBits2Float(0x429d127e), SkBits2Float(0xc1d85b80), SkBits2Float(0x429eedcc), SkBits2Float(0xc1bfbbc5)); |
| path.lineTo(SkBits2Float(0x4265c6d6), SkBits2Float(0xc18a9a3f)); |
| path.cubicTo(SkBits2Float(0x426317a7), SkBits2Float(0xc19c6729), SkBits2Float(0x425fe4aa), SkBits2Float(0xc1ade05f), SkBits2Float(0x425c3203), SkBits2Float(0xc1beef45)); |
| path.lineTo(SkBits2Float(0x42984d42), SkBits2Float(0xc2041029)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp52(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x42044d64), SkBits2Float(0xc2a5ffff), SkBits2Float(0x427bf9ef), SkBits2Float(0xc27d72ab), SkBits2Float(0x42984d42), SkBits2Float(0xc2041029)); |
| path.cubicTo(SkBits2Float(0x429adc06), SkBits2Float(0xc1f08771), SkBits2Float(0x429d127e), SkBits2Float(0xc1d85b80), SkBits2Float(0x429eedcc), SkBits2Float(0xc1bfbbc5)); |
| path.lineTo(SkBits2Float(0x4265c6d6), SkBits2Float(0xc18a9a3f)); |
| path.cubicTo(SkBits2Float(0x426317a7), SkBits2Float(0xc19c6729), SkBits2Float(0x425fe4aa), SkBits2Float(0xc1ade05f), SkBits2Float(0x425c3202), SkBits2Float(0xc1beef44)); |
| path.cubicTo(SkBits2Float(0x423626cb), SkBits2Float(0xc2373722), SkBits2Float(0x41bf47cb), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x429eedcc), SkBits2Float(0xc1bfbbc6)); |
| path.cubicTo(SkBits2Float(0x42ae408c), SkBits2Float(0x3fb7daeb), SkBits2Float(0x42a45c89), SkBits2Float(0x41e7c57e), SkBits2Float(0x42845101), SkBits2Float(0x42487bac)); |
| path.cubicTo(SkBits2Float(0x42488af1), SkBits2Float(0x428e8a4c), SkBits2Float(0x41c7bd0e), SkBits2Float(0x42a6f806), SkBits2Float(0xbfc7d871), SkBits2Float(0x42a5f87b)); |
| path.lineTo(SkBits2Float(0xbf90777c), SkBits2Float(0x426ff521)); |
| path.cubicTo(SkBits2Float(0x419063a9), SkBits2Float(0x42716698), SkBits2Float(0x4210f87e), SkBits2Float(0x424e1511), SkBits2Float(0x423f4d05), SkBits2Float(0x4210ed75)); |
| path.cubicTo(SkBits2Float(0x426da18c), SkBits2Float(0x41a78bb1), SkBits2Float(0x427bee4d), SkBits2Float(0x3f84e856), SkBits2Float(0x4265c6d8), SkBits2Float(0xc18a9a40)); |
| path.lineTo(SkBits2Float(0x429eedcc), SkBits2Float(0xc1bfbbc6)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp53(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x421216db), SkBits2Float(0xc2a5ffff), SkBits2Float(0x4289817d), SkBits2Float(0xc26c814f), SkBits2Float(0x429ecb3a), SkBits2Float(0xc1c183ed)); |
| path.lineTo(SkBits2Float(0x426594dc), SkBits2Float(0xc18be3fc)); |
| path.cubicTo(SkBits2Float(0x4246cdba), SkBits2Float(0xc22af7b1), SkBits2Float(0x41d336a3), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x429ecb3a), SkBits2Float(0xc1c183e9)); |
| path.cubicTo(SkBits2Float(0x42a0d9cb), SkBits2Float(0xc1a68281), SkBits2Float(0x42a27999), SkBits2Float(0xc18b01ce), SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595d)); |
| path.lineTo(SkBits2Float(0x426c9cb2), SkBits2Float(0xc120bbfa)); |
| path.cubicTo(SkBits2Float(0x426ae754), SkBits2Float(0xc148f95c), SkBits2Float(0x42688e2a), SkBits2Float(0xc170bcb0), SkBits2Float(0x426594dd), SkBits2Float(0xc18be3fd)); |
| path.lineTo(SkBits2Float(0x429ecb3a), SkBits2Float(0xc1c183e9)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp54(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x421216db), SkBits2Float(0xc2a5ffff), SkBits2Float(0x4289817d), SkBits2Float(0xc26c814f), SkBits2Float(0x429ecb3a), SkBits2Float(0xc1c183ed)); |
| path.lineTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595d)); |
| path.lineTo(SkBits2Float(0x426c9cb2), SkBits2Float(0xc120bbfa)); |
| path.cubicTo(SkBits2Float(0x426ae754), SkBits2Float(0xc148f95c), SkBits2Float(0x42688e2a), SkBits2Float(0xc170bcb0), SkBits2Float(0x426594dd), SkBits2Float(0xc18be3fd)); |
| path.lineTo(SkBits2Float(0x426594dc), SkBits2Float(0xc18be3fc)); |
| path.cubicTo(SkBits2Float(0x4246cdba), SkBits2Float(0xc22af7b1), SkBits2Float(0x41d336a3), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595e)); |
| path.cubicTo(SkBits2Float(0x42ad725e), SkBits2Float(0x416ed313), SkBits2Float(0x42982fa2), SkBits2Float(0x4230cc44), SkBits2Float(0x42575fca), SkBits2Float(0x427ca963)); |
| path.cubicTo(SkBits2Float(0x41fcc0a1), SkBits2Float(0x42a44341), SkBits2Float(0x3f80ed4e), SkBits2Float(0x42affc4e), SkBits2Float(0xc1d56b7f), SkBits2Float(0x429d3115)); |
| path.lineTo(SkBits2Float(0xc19a478e), SkBits2Float(0x426343e2)); |
| path.cubicTo(SkBits2Float(0x3f3a6666), SkBits2Float(0x427e6fe0), SkBits2Float(0x41b6b66f), SkBits2Float(0x426d7d04), SkBits2Float(0x421bb135), SkBits2Float(0x4236a5a5)); |
| path.cubicTo(SkBits2Float(0x425c0733), SkBits2Float(0x41ff9c8c), SkBits2Float(0x427ac435), SkBits2Float(0x412ca4f2), SkBits2Float(0x426c9cb3), SkBits2Float(0xc120bbf8)); |
| path.lineTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595e)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp55(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4220aa02), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42952310), SkBits2Float(0xc258f48d), SkBits2Float(0x42a35f68), SkBits2Float(0xc16b5614)); |
| path.lineTo(SkBits2Float(0x426c3395), SkBits2Float(0xc12a1f61)); |
| path.cubicTo(SkBits2Float(0x42579ea8), SkBits2Float(0xc21cd5ce), SkBits2Float(0x41e84916), SkBits2Float(0xc2700000), SkBits2Float(0x3697ff52), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42a35f69), SkBits2Float(0xc16b5613)); |
| path.cubicTo(SkBits2Float(0x42a4bd24), SkBits2Float(0xc12ea3c2), SkBits2Float(0x42a59325), SkBits2Float(0xc0e282d6), SkBits2Float(0x42a5dfdf), SkBits2Float(0xc04e84a0)); |
| path.lineTo(SkBits2Float(0x426fd18d), SkBits2Float(0xc0154a48)); |
| path.cubicTo(SkBits2Float(0x426f62a1), SkBits2Float(0xc0a3be33), SkBits2Float(0x426e2d39), SkBits2Float(0xc0fc7dbb), SkBits2Float(0x426c3397), SkBits2Float(0xc12a1f63)); |
| path.lineTo(SkBits2Float(0x42a35f69), SkBits2Float(0xc16b5613)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp56(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x3697ff52), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4220aa02), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42952310), SkBits2Float(0xc258f48d), SkBits2Float(0x42a35f69), SkBits2Float(0xc16b5613)); |
| path.cubicTo(SkBits2Float(0x42a4bd24), SkBits2Float(0xc12ea3c2), SkBits2Float(0x42a59325), SkBits2Float(0xc0e282d6), SkBits2Float(0x42a5dfdf), SkBits2Float(0xc04e84a0)); |
| path.lineTo(SkBits2Float(0x426fd18d), SkBits2Float(0xc0154a48)); |
| path.cubicTo(SkBits2Float(0x426f62a1), SkBits2Float(0xc0a3be33), SkBits2Float(0x426e2d39), SkBits2Float(0xc0fc7dbb), SkBits2Float(0x426c3397), SkBits2Float(0xc12a1f63)); |
| path.lineTo(SkBits2Float(0x426c3395), SkBits2Float(0xc12a1f61)); |
| path.cubicTo(SkBits2Float(0x42579ea8), SkBits2Float(0xc21cd5ce), SkBits2Float(0x41e84916), SkBits2Float(0xc2700000), SkBits2Float(0x3697ff52), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42a5dfdf), SkBits2Float(0xc04e84a0)); |
| path.cubicTo(SkBits2Float(0x42a85e4f), SkBits2Float(0x41e6959e), SkBits2Float(0x4285b4e3), SkBits2Float(0x426ae44f), SkBits2Float(0x4219b105), SkBits2Float(0x42932450)); |
| path.cubicTo(SkBits2Float(0x411fe111), SkBits2Float(0x42b0d679), SkBits2Float(0xc1c3966b), SkBits2Float(0x42ab1d42), SkBits2Float(0xc2482755), SkBits2Float(0x428470e8)); |
| path.lineTo(SkBits2Float(0xc210b07c), SkBits2Float(0x423f7b24)); |
| path.cubicTo(SkBits2Float(0xc18d6382), SkBits2Float(0x427764e8), SkBits2Float(0x40e72680), SkBits2Float(0x427fab4e), SkBits2Float(0x41de345e), SkBits2Float(0x4254bc3b)); |
| path.cubicTo(SkBits2Float(0x42414f8e), SkBits2Float(0x4229cd28), SkBits2Float(0x42736c9d), SkBits2Float(0x41a6b008), SkBits2Float(0x426fd18e), SkBits2Float(0xc0154a3f)); |
| path.lineTo(SkBits2Float(0x42a5dfdf), SkBits2Float(0xc04e84a0)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp57(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x422b8e0b), SkBits2Float(0xc2a5ffff), SkBits2Float(0x429d6dbc), SkBits2Float(0xc2494bad), SkBits2Float(0x42a54cb6), SkBits2Float(0xc0f3b760)); |
| path.lineTo(SkBits2Float(0x426efcca), SkBits2Float(0xc0b02e2c)); |
| path.cubicTo(SkBits2Float(0x42639b94), SkBits2Float(0xc21183d2), SkBits2Float(0x41f807f9), SkBits2Float(0xc2700000), SkBits2Float(0xb630015b), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42a54cb7), SkBits2Float(0xc0f3b757)); |
| path.cubicTo(SkBits2Float(0x42a60d08), SkBits2Float(0xc0628d9e), SkBits2Float(0x42a632b1), SkBits2Float(0x3f0efcd8), SkBits2Float(0x42a5bd61), SkBits2Float(0x4094a90a)); |
| path.lineTo(SkBits2Float(0x426f9faf), SkBits2Float(0x4056ee3d)); |
| path.cubicTo(SkBits2Float(0x42704949), SkBits2Float(0x3ecebaba), SkBits2Float(0x427012d8), SkBits2Float(0xc023c5fe), SkBits2Float(0x426efccb), SkBits2Float(0xc0b02e2d)); |
| path.lineTo(SkBits2Float(0x42a54cb7), SkBits2Float(0xc0f3b757)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp58(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0xb630015b), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x422b8e0b), SkBits2Float(0xc2a5ffff), SkBits2Float(0x429d6dbc), SkBits2Float(0xc2494bad), SkBits2Float(0x42a54cb7), SkBits2Float(0xc0f3b757)); |
| path.cubicTo(SkBits2Float(0x42a60d08), SkBits2Float(0xc0628d9e), SkBits2Float(0x42a632b1), SkBits2Float(0x3f0efcd8), SkBits2Float(0x42a5bd61), SkBits2Float(0x4094a90a)); |
| path.lineTo(SkBits2Float(0x426f9faf), SkBits2Float(0x4056ee3d)); |
| path.cubicTo(SkBits2Float(0x42704949), SkBits2Float(0x3ecebaba), SkBits2Float(0x427012d8), SkBits2Float(0xc023c5fe), SkBits2Float(0x426efcca), SkBits2Float(0xc0b02e2c)); |
| path.cubicTo(SkBits2Float(0x42639b94), SkBits2Float(0xc21183d2), SkBits2Float(0x41f807f9), SkBits2Float(0xc2700000), SkBits2Float(0xb630015b), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42a5bd62), SkBits2Float(0x4094a90c)); |
| path.cubicTo(SkBits2Float(0x42a1e9d4), SkBits2Float(0x421b17cd), SkBits2Float(0x426944f3), SkBits2Float(0x428879ea), SkBits2Float(0x41ceac14), SkBits2Float(0x429dc116)); |
| path.cubicTo(SkBits2Float(0xc0d4c6f5), SkBits2Float(0x42b30843), SkBits2Float(0xc2295516), SkBits2Float(0x429e4e8b), SkBits2Float(0xc2802142), SkBits2Float(0x4253148e)); |
| path.lineTo(SkBits2Float(0xc2393f81), SkBits2Float(0x42189693)); |
| path.cubicTo(SkBits2Float(0xc1f4d162), SkBits2Float(0x4264e09b), SkBits2Float(0xc099d099), SkBits2Float(0x42816bc3), SkBits2Float(0x419566d0), SkBits2Float(0x42641418)); |
| path.cubicTo(SkBits2Float(0x4228a0e3), SkBits2Float(0x424550a9), SkBits2Float(0x426a177b), SkBits2Float(0x41e03b19), SkBits2Float(0x426f9fb0), SkBits2Float(0x4056ee3a)); |
| path.lineTo(SkBits2Float(0x42a5bd62), SkBits2Float(0x4094a90c)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp59(skiatest::Reporter* reporter, const char* filename) { // hung |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x423693bc), SkBits2Float(0xc2a5ffff), SkBits2Float(0x42a57249), SkBits2Float(0xc2389374), SkBits2Float(0x42a5ff3a), SkBits2Float(0xbf002494)); |
| path.lineTo(SkBits2Float(0x426ffee2), SkBits2Float(0xbeb944c3)); |
| path.cubicTo(SkBits2Float(0x426f331d), SkBits2Float(0xc2056daf), SkBits2Float(0x4203fbc4), SkBits2Float(0xc2700000), SkBits2Float(0xb560056c), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x42a5ff3a), SkBits2Float(0xbf0024e6)); |
| path.cubicTo(SkBits2Float(0x42a60c9b), SkBits2Float(0x40752b0d), SkBits2Float(0x42a56c5d), SkBits2Float(0x410284fd), SkBits2Float(0x42a41ffb), SkBits2Float(0x414709fb)); |
| path.lineTo(SkBits2Float(0x426d49ff), SkBits2Float(0x410fe233)); |
| path.cubicTo(SkBits2Float(0x426f2a8e), SkBits2Float(0x40bcb3f0), SkBits2Float(0x42701239), SkBits2Float(0x40313ae3), SkBits2Float(0x426ffee3), SkBits2Float(0xbeb944c6)); |
| path.lineTo(SkBits2Float(0x42a5ff3a), SkBits2Float(0xbf0024e6)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| |
| static void battleOp60(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3e9334c2), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f13342a), SkBits2Float(0xc2a5ff3c), SkBits2Float(0x3f5ccd0d), SkBits2Float(0xc2a5fdb4)); |
| path.lineTo(SkBits2Float(0x3f1f9d85), SkBits2Float(0xc26ffcaf)); |
| path.cubicTo(SkBits2Float(0x3ed4d324), SkBits2Float(0xc26ffee7), SkBits2Float(0x3e54d404), SkBits2Float(0xc2700000), SkBits2Float(0x36b23f68), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3f5ccd1a), SkBits2Float(0xc2a5fdb5)); |
| path.cubicTo(SkBits2Float(0x3f642956), SkBits2Float(0xc2a5fd8c), SkBits2Float(0x3f6b855d), SkBits2Float(0xc2a5fd63), SkBits2Float(0x3f72e163), SkBits2Float(0xc2a5fd38)); |
| path.lineTo(SkBits2Float(0x3f2f9381), SkBits2Float(0xc26ffbfc)); |
| path.cubicTo(SkBits2Float(0x3f2a4188), SkBits2Float(0xc26ffc3b), SkBits2Float(0x3f24ef95), SkBits2Float(0xc26ffc76), SkBits2Float(0x3f1f9da0), SkBits2Float(0xc26ffcb0)); |
| path.lineTo(SkBits2Float(0x3f5ccd1a), SkBits2Float(0xc2a5fdb5)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp61(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x36b23f68), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3e9334c2), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f13342a), SkBits2Float(0xc2a5ff3c), SkBits2Float(0x3f5ccd1a), SkBits2Float(0xc2a5fdb5)); |
| path.cubicTo(SkBits2Float(0x3f642956), SkBits2Float(0xc2a5fd8c), SkBits2Float(0x3f6b855d), SkBits2Float(0xc2a5fd63), SkBits2Float(0x3f72e163), SkBits2Float(0xc2a5fd38)); |
| path.lineTo(SkBits2Float(0x3f2f9381), SkBits2Float(0xc26ffbfc)); |
| path.cubicTo(SkBits2Float(0x3f2a4188), SkBits2Float(0xc26ffc3b), SkBits2Float(0x3f24ef95), SkBits2Float(0xc26ffc76), SkBits2Float(0x3f1f9d85), SkBits2Float(0xc26ffcaf)); |
| path.cubicTo(SkBits2Float(0x3ed4d324), SkBits2Float(0xc26ffee7), SkBits2Float(0x3e54d404), SkBits2Float(0xc2700000), SkBits2Float(0x36b23f68), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x3f72e162), SkBits2Float(0xc2a5fd39)); |
| path.cubicTo(SkBits2Float(0x3fb51288), SkBits2Float(0xc2a5fa80), SkBits2Float(0x3ff0b297), SkBits2Float(0xc2a5f5c4), SkBits2Float(0x401627a5), SkBits2Float(0xc2a5ef06)); |
| path.lineTo(SkBits2Float(0x3fd9177b), SkBits2Float(0xc26fe773)); |
| path.cubicTo(SkBits2Float(0x3fadff90), SkBits2Float(0xc26ff134), SkBits2Float(0x3f82e54e), SkBits2Float(0xc26ff80c), SkBits2Float(0x3f2f9393), SkBits2Float(0xc26ffbfc)); |
| path.lineTo(SkBits2Float(0x3f72e162), SkBits2Float(0xc2a5fd39)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp62(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f614848), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3fe14683), SkBits2Float(0xc2a5f8d5), SkBits2Float(0x4028ee0f), SkBits2Float(0xc2a5ea81)); |
| path.lineTo(SkBits2Float(0x3ff43c76), SkBits2Float(0xc26fe0ec)); |
| path.cubicTo(SkBits2Float(0x3fa2d98a), SkBits2Float(0xc26ff5a4), SkBits2Float(0x3f22dad5), SkBits2Float(0xc2700000), SkBits2Float(0xb5420574), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4028ee15), SkBits2Float(0xc2a5ea81)); |
| path.cubicTo(SkBits2Float(0x402e8f25), SkBits2Float(0xc2a5e912), SkBits2Float(0x40343026), SkBits2Float(0xc2a5e791), SkBits2Float(0x4039d111), SkBits2Float(0xc2a5e5fd)); |
| path.lineTo(SkBits2Float(0x4006533c), SkBits2Float(0xc26fda66)); |
| path.cubicTo(SkBits2Float(0x4002419e), SkBits2Float(0xc26fdcaf), SkBits2Float(0x3ffc5fdb), SkBits2Float(0xc26fdedc), SkBits2Float(0x3ff43c61), SkBits2Float(0xc26fe0ed)); |
| path.lineTo(SkBits2Float(0x4028ee15), SkBits2Float(0xc2a5ea81)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp63(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3f614848), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3fe14683), SkBits2Float(0xc2a5f8d5), SkBits2Float(0x4028ee15), SkBits2Float(0xc2a5ea81)); |
| path.cubicTo(SkBits2Float(0x402e8f25), SkBits2Float(0xc2a5e912), SkBits2Float(0x40343026), SkBits2Float(0xc2a5e791), SkBits2Float(0x4039d111), SkBits2Float(0xc2a5e5fd)); |
| path.lineTo(SkBits2Float(0x4006533c), SkBits2Float(0xc26fda66)); |
| path.cubicTo(SkBits2Float(0x400241a2), SkBits2Float(0xc26fdcaf), SkBits2Float(0x3ffc5fea), SkBits2Float(0xc26fdedc), SkBits2Float(0x3ff43c76), SkBits2Float(0xc26fe0ec)); |
| path.cubicTo(SkBits2Float(0x3fa2d98a), SkBits2Float(0xc26ff5a4), SkBits2Float(0x3f22dad5), SkBits2Float(0xc2700000), SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); |
| path.close(); |
| path.moveTo(SkBits2Float(0x40186abb), SkBits2Float(0xc295b297)); |
| path.lineTo(SkBits2Float(0x3ff43c61), SkBits2Float(0xc26fe0ed)); |
| path.lineTo(SkBits2Float(0x3ff43c77), SkBits2Float(0xc26fe0ed)); |
| path.lineTo(SkBits2Float(0x40186abb), SkBits2Float(0xc295b297)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4039d102), SkBits2Float(0xc2a5e5fe)); |
| path.cubicTo(SkBits2Float(0x408a83ff), SkBits2Float(0xc2a5cc72), SkBits2Float(0x40b8130f), SkBits2Float(0xc2a5a01a), SkBits2Float(0x40e58a06), SkBits2Float(0xc2a56100)); |
| path.lineTo(SkBits2Float(0x40a5ee90), SkBits2Float(0xc26f1a20)); |
| path.cubicTo(SkBits2Float(0x408510de), SkBits2Float(0xc26f755e), SkBits2Float(0x40484386), SkBits2Float(0xc26fb57a), SkBits2Float(0x40065347), SkBits2Float(0xc26fda68)); |
| path.lineTo(SkBits2Float(0x4039d102), SkBits2Float(0xc2a5e5fe)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp64(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3faf587e), SkBits2Float(0xc2a5ffff), SkBits2Float(0x402f5505), SkBits2Float(0xc2a5eea1), SkBits2Float(0x408372de), SkBits2Float(0xc2a5cbeb)); |
| path.lineTo(SkBits2Float(0x403e0bd0), SkBits2Float(0xc26fb4b6)); |
| path.cubicTo(SkBits2Float(0x3ffd7de6), SkBits2Float(0xc26fe6e6), SkBits2Float(0x3f7d82fb), SkBits2Float(0xc2700000), SkBits2Float(0x363f7eb2), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x408372d6), SkBits2Float(0xc2a5cbec)); |
| path.cubicTo(SkBits2Float(0x4087d39d), SkBits2Float(0xc2a5c874), SkBits2Float(0x408c3440), SkBits2Float(0xc2a5c4cf), SkBits2Float(0x409094bd), SkBits2Float(0xc2a5c0fe)); |
| path.lineTo(SkBits2Float(0x40510866), SkBits2Float(0xc26fa4e7)); |
| path.cubicTo(SkBits2Float(0x404ab468), SkBits2Float(0xc26faa6c), SkBits2Float(0x40446037), SkBits2Float(0xc26fafb2), SkBits2Float(0x403e0bd2), SkBits2Float(0xc26fb4b7)); |
| path.lineTo(SkBits2Float(0x408372d6), SkBits2Float(0xc2a5cbec)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp65(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x363f7eb2), SkBits2Float(0xc2700000)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x3faf5872), SkBits2Float(0xc2a60000), SkBits2Float(0x402f54f9), SkBits2Float(0xc2a5eea1), SkBits2Float(0x408372d5), SkBits2Float(0xc2a5cbeb)); |
| path.lineTo(SkBits2Float(0x408372d6), SkBits2Float(0xc2a5cbec)); |
| path.cubicTo(SkBits2Float(0x4087d39d), SkBits2Float(0xc2a5c874), SkBits2Float(0x408c3440), SkBits2Float(0xc2a5c4cf), SkBits2Float(0x409094bd), SkBits2Float(0xc2a5c0fe)); |
| path.lineTo(SkBits2Float(0x40510866), SkBits2Float(0xc26fa4e7)); |
| path.cubicTo(SkBits2Float(0x404ab468), SkBits2Float(0xc26faa6c), SkBits2Float(0x40446037), SkBits2Float(0xc26fafb2), SkBits2Float(0x403e0bd0), SkBits2Float(0xc26fb4b6)); |
| path.cubicTo(SkBits2Float(0x3ffd7de6), SkBits2Float(0xc26fe6e6), SkBits2Float(0x3f7d82fb), SkBits2Float(0xc2700000), SkBits2Float(0x363f7eb2), SkBits2Float(0xc2700000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x409094be), SkBits2Float(0xc2a5c0fe)); |
| path.cubicTo(SkBits2Float(0x40d784bb), SkBits2Float(0xc2a5831d), SkBits2Float(0x410f22d3), SkBits2Float(0xc2a517ba), SkBits2Float(0x413255ec), SkBits2Float(0xc2a47f15)); |
| path.lineTo(SkBits2Float(0x4100ead4), SkBits2Float(0xc26dd37e)); |
| path.cubicTo(SkBits2Float(0x40cef193), SkBits2Float(0xc26eb02f), SkBits2Float(0x409bcbdf), SkBits2Float(0xc26f4b72), SkBits2Float(0x40510859), SkBits2Float(0xc26fa4e8)); |
| path.lineTo(SkBits2Float(0x409094be), SkBits2Float(0xc2a5c0fe)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp66(skiatest::Reporter* reporter, const char* filename) { |
| SkPath path; |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4037e518), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40b7d534), SkBits2Float(0xc2a5b39a), SkBits2Float(0x4109a47d), SkBits2Float(0xc2a51b1f)); |
| path.lineTo(SkBits2Float(0x40c70051), SkBits2Float(0xc26eb519)); |
| path.cubicTo(SkBits2Float(0x4084e427), SkBits2Float(0xc26f918c), SkBits2Float(0x4004efa4), SkBits2Float(0xc26fffff), SkBits2Float(0x3543fa8c), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); |
| path.close(); |
| |
| SkPath path1(path); |
| path.reset(); |
| path.setFillType((SkPath::FillType) 0); |
| path.moveTo(SkBits2Float(0x4109a47c), SkBits2Float(0xc2a51b20)); |
| path.cubicTo(SkBits2Float(0x410e36d1), SkBits2Float(0xc2a50be2), SkBits2Float(0x4112c883), SkBits2Float(0xc2a4fbe1), SkBits2Float(0x41175985), SkBits2Float(0xc2a4eb1d)); |
| path.lineTo(SkBits2Float(0x40dad196), SkBits2Float(0xc26e6faf)); |
| path.cubicTo(SkBits2Float(0x40d4377d), SkBits2Float(0xc26e87ed), SkBits2Float(0x40cd9c5c), SkBits2Float(0xc26e9f10), SkBits2Float(0x40c7004e), SkBits2Float(0xc26eb51a)); |
| path.lineTo(SkBits2Float(0x4109a47c), SkBits2Float(0xc2a51b20)); |
| path.close(); |
| |
| SkPath path2(path); |
| testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); |
| } |
| // op end success 1 |
| |
| static void battleOp67(skiatest::Reporter* reporter, const char* filename) { // crashed |
| SkPath path; |
| path.setFillType((SkPath::FillType) 1); |
| path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc26fffff)); |
| path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); |
| path.cubicTo(SkBits2Float(0x4037e518), SkBits2Float(0xc2a5ffff), SkBits2Float(0x40b7d534), SkBits2Float(0xc2a5b39a), SkBits2Float(0x4109a47c), SkBits2Float(0xc2a51b20)); |
| path.cubicTo(SkBits2Float(0x410e36d1), SkBits2Float(0xc2a50be2), SkBits2Float(0x4112c883), SkBits2Float(0xc2a4fbe1), SkBits2Float(0x41175985), SkBits2Float(0xc2a4eb1d)); |
| path.lineTo(SkBits2Float(0x40dad196), SkBits2Float(0xc26e6faf)); |
| path.cubicTo(SkBits2Float(0x40d4377e), SkBits2Float( |