Lines Matching refs:PathKit
5 let path = PathKit.NewPath();
17 let blank = PathKit.NewPath();
38 let copy = new PathKit.SkPath(orig);
66 let copy = PathKit.NewPath(orig);
79 if (PathKit.usingWasm) {
92 return PathKit.SkBits2FloatUnsigned(parseInt(str))
99 let path = PathKit.NewPath();
100 expect(path.getBounds()).toEqual(PathKit.LTRBRect(0, 0, 0, 0));
102 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, -5, -8));
104 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
106 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
115 let path = PathKit.NewPath();
118 expect(path.getBounds()).toEqual(PathKit.LTRBRect(1, 1, 4, 3));
120 PathKit.LTRBRect(1, 1,
131 if (PathKit.usingWasm) {
148 let path = PathKit.NewPath();
154 [PathKit.MOVE_VERB, 20, 120],
155 [PathKit.LINE_VERB, 38, 120],
156 [PathKit.CONIC_VERB, 38, 138, 20, 138, bits2float("0x3f3504f3)")], // 0.707107f
157 [PathKit.CONIC_VERB, 2, 138, 2, 120, bits2float("0x3f3504f3)")], // 0.707107f
158 [PathKit.CONIC_VERB, 2, 102, 20, 102, bits2float("0x3f3504f3)")], // 0.707107f
159 …[PathKit.CONIC_VERB, bits2float("0x41dba58e"), 102, bits2float("0x4202e962"), bits2float("0x42d68b…
160 [PathKit.LINE_VERB, 20, 120],