33 fName.append(
"_round");
50 paint.setAntiAlias(
true);
52 paint.setStrokeWidth(2);
70 for (
int i = 0;
i < loops;
i++) {
const char * gAlignName[]
static void round(SkPoint *p)
virtual void setupPaint(SkPaint *paint)
BigPathBench(Align align, bool round)
void onDelayedSetup() override
SkISize onGetSize() override
void onDraw(int loops, SkCanvas *canvas) override
const char * onGetName() override
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
const SkRect & getBounds() const
static constexpr SkISize Make(int32_t w, int32_t h)
constexpr float left() const
constexpr float right() const