Paint_getStrokeJoin.cpp 454 B

1234567891011
  1. // Copyright 2019 Google LLC.
  2. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
  3. #include "tools/fiddle/examples.h"
  4. // HASH=31bf751d0a8ddf176b871810820d8199
  5. REG_FIDDLE(Paint_getStrokeJoin, 256, 256, true, 0) {
  6. void draw(SkCanvas* canvas) {
  7. SkPaint paint;
  8. SkDebugf("kMiter_Join %c= default stroke join\n",
  9. SkPaint::kMiter_Join == paint.getStrokeJoin() ? '=' : '!');
  10. }
  11. } // END FIDDLE