Flutter Engine
The Flutter Engine
draw_text_fails.cpp
Go to the documentation of this file.
1// Copyright 2020 Google LLC.
2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4REG_FIDDLE(draw_text_fails, 256, 46, false, 0) {
5void draw(SkCanvas* canvas) {
6 canvas->drawString("ABCDE ⒶⒷⒸⒹⒺ 𝓐𝓑𝓒𝓓𝓔", 18, 32, SkFont(nullptr, 12), SkPaint());
7}
8} // END FIDDLE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition: aaclip.cpp:27
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
Definition: SkCanvas.h:1803
Definition: SkFont.h:35
REG_FIDDLE(draw_text_fails, 256, 46, false, 0)