Searched refs:testPoints (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/docs/examples/ |
H A D | Canvas_quickReject_2.cpp | 7 SkPoint testPoints[] = {{30, 30}, {120, 30}, {120, 129} }; in REG_FIDDLE() local 10 testPath.addPoly(testPoints, SK_ARRAY_COUNT(testPoints), true); in REG_FIDDLE()
|
/third_party/skia/samplecode/ |
H A D | SampleFilterBounds.cpp | 127 SkPoint testPoints[5]; in draw_scale_factors() local 128 testPoints[0] = {rect.centerX(), rect.centerY()}; in draw_scale_factors() 129 rect.toQuad(testPoints + 1); in draw_scale_factors() 133 SkPoint(mapping.paramToLayer(skif::ParameterSpace<SkPoint>(testPoints[i])))); in draw_scale_factors() 161 canvas->drawRect(SkRect::MakeLTRB(testPoints[i].fX - 4.f, testPoints[i].fY - 4.f, in draw_scale_factors() 162 testPoints[i].fX + 4.f, testPoints[i].fY + 4.f), p); in draw_scale_factors()
|
/third_party/skia/tests/ |
H A D | SurfaceTest.cpp | 430 const SkPoint testPoints[3] = { in test_copy_on_write() local 458 EXPECT_COPY_ON_WRITE(drawPoints(SkCanvas::kPoints_PointMode, testPointCount, testPoints, \ in test_copy_on_write()
|
Completed in 4 milliseconds