6c8422c671
ignore offscreen, srgb, and animated fiddles for now. Change-Id: I923131b684865698e6cda138b004930e11f504d5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263713 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
19 lines
867 B
C++
19 lines
867 B
C++
// Copyright 2020 Google LLC.
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
#include "tools/fiddle/examples.h"
|
|
REG_FIDDLE(bug7573, 256, 256, false, 0) {
|
|
void draw(SkCanvas* canvas) {
|
|
SkPaint p;
|
|
p.setAntiAlias(true);
|
|
canvas->scale(0.196f * 2, 0.196f * 2);
|
|
SkPath path;
|
|
path.moveTo(SkBits2Float(0x40a1a3f7), SkBits2Float(0x41b80159)); // 5.05127f, 23.0007f
|
|
path.lineTo(SkBits2Float(0x42f41a3f), SkBits2Float(0x41d00159)); // 122.051f, 26.0007f
|
|
path.lineTo(SkBits2Float(0x42f3e5c1), SkBits2Float(0x41effea7)); // 121.949f, 29.9993f
|
|
path.lineTo(SkBits2Float(0x409e5c09), SkBits2Float(0x41d7fea7)); // 4.94873f, 26.9993f
|
|
path.lineTo(SkBits2Float(0x40a1a3f7), SkBits2Float(0x41b80159)); // 5.05127f, 23.0007f
|
|
path.close();
|
|
canvas->drawPath(path, p);
|
|
}
|
|
} // END FIDDLE
|