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/SkImage.h"
#include "include/core/SkPaint.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "tools/DecodeUtils.h"
#include "tools/GpuToolUtils.h"
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
Go to the source code of this file.
Functions | |
static void | draw_image (SkCanvas *canvas, const char *resource, int x, int y) |
DEF_SIMPLE_GM (colorwheel, canvas, 256, 256) | |
DEF_SIMPLE_GM (colorwheelnative, canvas, 128, 28) | |
DEF_SIMPLE_GM (colorwheel_alphatypes, canvas, 256, 128) | |
DEF_SIMPLE_GM | ( | colorwheel | , |
canvas | , | ||
256 | , | ||
256 | |||
) |
Definition at line 44 of file colorwheel.cpp.
DEF_SIMPLE_GM | ( | colorwheel_alphatypes | , |
canvas | , | ||
256 | , | ||
128 | |||
) |
This GM tests decoding images with non-default (overridden) alpha types.
Definition at line 69 of file colorwheel.cpp.
DEF_SIMPLE_GM | ( | colorwheelnative | , |
canvas | , | ||
128 | , | ||
28 | |||
) |
Definition at line 52 of file colorwheel.cpp.
Definition at line 25 of file colorwheel.cpp.