Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkImage.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkTileMode.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkGradientShader.h"
#include "src/utils/SkPatchUtils.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"
Go to the source code of this file.
Functions | |
static sk_sp< SkShader > | make_shader () |
static void | draw_control_points (SkCanvas *canvas, const SkPoint cubics[12]) |
static void | dopatch (SkCanvas *canvas, const SkColor colors[], sk_sp< SkImage > img, const SkMatrix *localMatrix) |
DEF_SIMPLE_GM (patch_primitive, canvas, 1500, 1100) | |
DEF_SIMPLE_GM (patch_image, canvas, 1500, 1100) | |
DEF_SIMPLE_GM (patch_image_persp, canvas, 1500, 1100) | |
DEF_SIMPLE_GM (patch_alpha, canvas, 1500, 1100) | |
DEF_SIMPLE_GM (patch_alpha_test, canvas, 550, 250) | |
Variables | |
const SkPoint | gCubics [SkPatchUtils::kNumCtrlPts] |
const SkPoint | gTexCoords [SkPatchUtils::kNumCorners] |
DEF_SIMPLE_GM | ( | patch_alpha | , |
canvas | , | ||
1500 | , | ||
1100 | |||
) |
Definition at line 179 of file patch.cpp.
DEF_SIMPLE_GM | ( | patch_alpha_test | , |
canvas | , | ||
550 | , | ||
250 | |||
) |
Definition at line 187 of file patch.cpp.
DEF_SIMPLE_GM | ( | patch_image | , |
canvas | , | ||
1500 | , | ||
1100 | |||
) |
Definition at line 164 of file patch.cpp.
DEF_SIMPLE_GM | ( | patch_image_persp | , |
canvas | , | ||
1500 | , | ||
1100 | |||
) |
Definition at line 170 of file patch.cpp.
DEF_SIMPLE_GM | ( | patch_primitive | , |
canvas | , | ||
1500 | , | ||
1100 | |||
) |
|
static |
Definition at line 97 of file patch.cpp.
Definition at line 37 of file patch.cpp.
Definition at line 26 of file patch.cpp.
const SkPoint gCubics[SkPatchUtils::kNumCtrlPts] |
const SkPoint gTexCoords[SkPatchUtils::kNumCorners] |