Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkFontTypes.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTextBlob.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTDArray.h"
#include "include/private/base/SkTemplates.h"
#include "include/private/base/SkTo.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include <string.h>
Go to the source code of this file.
Functions | |
static SkPath | create_underline (const SkTDArray< SkScalar > &intersections, SkScalar last, SkScalar finalPos, SkScalar uPos, SkScalar uWidth, SkScalar textSize) |
DEF_SIMPLE_GM (fancyblobunderline, canvas, 1480, 1380) | |
static sk_sp< SkTextBlob > | make_text (const SkFont &font, const SkGlyphID glyphs[], int count) |
static sk_sp< SkTextBlob > | make_posh (const SkFont &font, const SkGlyphID glyphs[], int count, SkScalar spacing) |
static sk_sp< SkTextBlob > | make_pos (const SkFont &font, const SkGlyphID glyphs[], int count, SkScalar spacing) |
static int | trim_with_halo (SkScalar intervals[], int count, SkScalar margin) |
static void | draw_blob_adorned (SkCanvas *canvas, sk_sp< SkTextBlob > blob) |
DEF_SIMPLE_GM (textblob_intercepts, canvas, 940, 800) | |
|
static |
Definition at line 32 of file texteffects.cpp.
DEF_SIMPLE_GM | ( | fancyblobunderline | , |
canvas | , | ||
1480 | , | ||
1380 | |||
) |
Definition at line 112 of file texteffects.cpp.
DEF_SIMPLE_GM | ( | textblob_intercepts | , |
canvas | , | ||
940 | , | ||
800 | |||
) |
Definition at line 240 of file texteffects.cpp.
|
static |
Definition at line 207 of file texteffects.cpp.
|
static |
Definition at line 170 of file texteffects.cpp.
|
static |
Definition at line 159 of file texteffects.cpp.
|
static |
Definition at line 154 of file texteffects.cpp.
Definition at line 182 of file texteffects.cpp.