Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkTileMode.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkGradientShader.h"
#include "tools/fonts/FontToolUtils.h"
Go to the source code of this file.
Classes | |
class | GammaTextGM |
class | GammaShaderTextGM |
Macros | |
#define | HEIGHT 480 |
Functions | |
static sk_sp< SkShader > | make_heatGradient (const SkPoint pts[2]) |
static sk_sp< SkShader > | make_gradient (SkColor c) |
static void | draw_pair (SkCanvas *canvas, const SkFont &font, SkColor color, const sk_sp< SkShader > &shader) |
DEF_SIMPLE_GM_BG (gammatext_color_shader, canvas, 300, 275, SK_ColorGRAY) | |
#define HEIGHT 480 |
Test a set of clipping problems discovered while writing blitAntiRect, and test all the code paths through the clipping blitters. Each region should show as a blue center surrounded by a 2px green border, with no red.
Definition at line 40 of file gammatext.cpp.
DEF_SIMPLE_GM_BG | ( | gammatext_color_shader | , |
canvas | , | ||
300 | , | ||
275 | , | ||
SK_ColorGRAY | |||
) |
Definition at line 160 of file gammatext.cpp.
|
static |
Definition at line 105 of file gammatext.cpp.
Definition at line 97 of file gammatext.cpp.
Definition at line 27 of file gammatext.cpp.