1#if 0 // Disabled until updated to use current API. 2// Copyright 2019 Google LLC. 3// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 4#include "tools/fiddle/examples.h" 5// HASH=95c6a7ef82993a8d2add676080e9438a 6REG_FIDDLE(Canvas_drawPosTextH, 256, 40, false, 0) { 7void draw(SkCanvas* canvas) { 8 SkScalar xpos[] = { 20, 40, 80, 160 }; 9 SkPaint paint; 10 canvas->drawPosTextH("XXXX", 4, xpos, 20, paint); 11} 12} // END FIDDLE 13#endif // Disabled until updated to use current API. 14