Searched refs:aaPaint (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/gm/ |
H A D | strokerect_anisotropic.cpp | 49 SkPaint aaPaint; variable 50 aaPaint.setColor(SkColorSetARGB(255, 0, 0, 0)); 51 aaPaint.setAntiAlias(true); 52 aaPaint.setStrokeWidth(10); 53 aaPaint.setStyle(SkPaint::kStroke_Style); 61 draw_sqooshed_rect(canvas, { 20.0f, 40.5f }, aaPaint); // whole pixels 64 draw_sqooshed_rect(canvas, { 60.5f, 40.0f }, aaPaint); // half pixels 67 aaPaint.setStrokeJoin(SkPaint::kBevel_Join); 71 draw_sqooshed_rect(canvas, { 100.0f, 40.5f }, aaPaint); // whole pixels 74 draw_sqooshed_rect(canvas, { 140.5f, 40.0f }, aaPaint); // hal [all...] |
/third_party/skia/tests/ |
H A D | DrawBitmapRectTest.cpp | 55 SkPaint aaPaint; in test_treatAsSprite() local 56 aaPaint.setAntiAlias(true); in test_treatAsSprite() 75 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 83 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 85 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 89 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 91 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 97 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 103 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() 109 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, sampling, aaPaint)); in test_treatAsSprite() [all...] |
Completed in 2 milliseconds