skia2/docs/examples/Paint_getStrokeMiter.cpp

11 lines
398 B
C++
Raw Normal View History

// Copyright 2019 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"
// HASH=50da74a43b725f07a914df588c867d36
REG_FIDDLE(Paint_getStrokeMiter, 256, 256, true, 0) {
void draw(SkCanvas* canvas) {
SkPaint paint;
SkDebugf("default miter limit == %g\n", paint.getStrokeMiter());
}
} // END FIDDLE