Paint_getFilterQuality.cpp 476 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=d4ca1f23809b6835c4ba46ea98a86900
  5. REG_FIDDLE(Paint_getFilterQuality, 256, 256, true, 0) {
  6. void draw(SkCanvas* canvas) {
  7. SkPaint paint;
  8. SkDebugf("kNone_SkFilterQuality %c= paint.getFilterQuality()\n",
  9. kNone_SkFilterQuality == paint.getFilterQuality() ? '=' : '!');
  10. }
  11. } // END FIDDLE