Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkFontTypes.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRect.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/Resources.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include <string.h>
#include <initializer_list>
Go to the source code of this file.
Macros | |
#define | SCALE 128 |
Functions | |
static SkBitmap | copy_bitmap (const SkBitmap &src, SkColorType colorType) |
static SkBitmap | make_bitmap (SkColorType ct) |
static void | draw_center_letter (char c, const SkFont &font, SkColor color, SkScalar x, SkScalar y, SkCanvas *canvas) |
static void | color_wheel_native (SkCanvas *canvas) |
template<typename T > | |
int | find (T *array, int N, T item) |
static void | draw (SkCanvas *canvas, const SkPaint &p, const SkFont &font, const SkBitmap &src, SkColorType colorType, const char text[]) |
DEF_SIMPLE_GM (all_bitmap_configs, canvas, SCALE, 6 *SCALE) | |
sk_sp< SkImage > | make_not_native32_color_wheel () |
DEF_SIMPLE_GM (not_native32_bitmap_config, canvas, SCALE, SCALE) | |
static uint32_t | make_pixel (int x, int y, SkAlphaType alphaType) |
static void | make_color_test_bitmap_variant (SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, SkBitmap *bm) |
DEF_SIMPLE_GM (all_variants_8888, canvas, 4 *SCALE+30, 2 *SCALE+10) | |
#define SCALE 128 |
Definition at line 47 of file all_bitmap_configs.cpp.
|
static |
Definition at line 85 of file all_bitmap_configs.cpp.
|
static |
Definition at line 33 of file all_bitmap_configs.cpp.
DEF_SIMPLE_GM | ( | all_bitmap_configs | , |
canvas | , | ||
SCALE | , | ||
6 * | SCALE | ||
) |
Definition at line 130 of file all_bitmap_configs.cpp.
Definition at line 240 of file all_bitmap_configs.cpp.
Definition at line 189 of file all_bitmap_configs.cpp.
|
static |
Definition at line 119 of file all_bitmap_configs.cpp.
|
static |
Definition at line 76 of file all_bitmap_configs.cpp.
Definition at line 110 of file all_bitmap_configs.cpp.
|
static |
Definition at line 50 of file all_bitmap_configs.cpp.
|
static |
Definition at line 222 of file all_bitmap_configs.cpp.
Definition at line 172 of file all_bitmap_configs.cpp.
|
static |
Definition at line 196 of file all_bitmap_configs.cpp.