Flutter Engine
The Flutter Engine
Functions
draw_text_fails.cpp File Reference
#include "tools/fiddle/examples.h"

Go to the source code of this file.

Functions

 REG_FIDDLE (draw_text_fails, 256, 46, false, 0)
 

Function Documentation

◆ REG_FIDDLE()

REG_FIDDLE ( draw_text_fails  ,
256  ,
46  ,
false  ,
 
)

Definition at line 4 of file draw_text_fails.cpp.

4 {
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