blob: 43affa2875ca6c5f66c2a2a7f2704744416889dd [file] [log] [blame]
// 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=05f0f65ae148f192656cd87df90f1d57
REG_FIDDLE(Rect_roundOut_3, 256, 256, true, 0) {
void draw(SkCanvas* canvas) {
SkRect rect = { 30.5f, 50.5f, 40.5f, 60.5f };
SkIRect round = rect.roundOut();
SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom);
}
} // END FIDDLE