Home | History | Annotate | Download | only in gm

Lines Matching refs:path2

63         SkPath path2;
64 path2.setFillType(SkPath::kWinding_FillType);
65 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction);
66 path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Direction);
67 canvas->drawPath(path2, paint);
69 path2.reset();
70 path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Direction);
71 canvas->drawPath(path2, paint);
72 SkASSERT(path2.cheapIsDirection(SkPath::kCCW_Direction));
74 path2.reset();
75 SkASSERT(!path2.cheapComputeDirection(NULL));
76 path2.addCircle(x + SkIntToScalar(360), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCW_Direction);
77 SkASSERT(path2.cheapIsDirection(SkPath::kCW_Direction));
78 canvas->drawPath(path2, paint);