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=c79a196278c58b34cd5f551b0124ecc9
5 REG_FIDDLE(Bitmap_height, 256, 256, true, 0) {
draw(SkCanvas * canvas)6 void draw(SkCanvas* canvas) {
7     SkImageInfo info = SkImageInfo::MakeA8(16, 32);
8     SkBitmap bitmap;
9     bitmap.setInfo(info);
10     SkDebugf("bitmap height: %d  info height: %d\n", bitmap.height(), info.height());
11 }
12 }  // END FIDDLE
13