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/SkColorFilter.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontTypes.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 "include/effects/SkLumaColorFilter.h"
#include "include/effects/SkRuntimeEffect.h"
#include "src/core/SkColorFilterPriv.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include <string.h>
Go to the source code of this file.
Classes | |
class | LumaFilterGM |
Functions | |
static void | draw_label (SkCanvas *canvas, const char *label, const SkPoint &offset) |
static void | draw_scene (SkCanvas *canvas, const sk_sp< SkColorFilter > &filter, SkBlendMode mode, const sk_sp< SkShader > &s1, const sk_sp< SkShader > &s2) |
DEF_SIMPLE_GM (AlternateLuma, canvas, 384, 128) | |
Variables | |
static SkScalar | kSize = 80 |
static SkScalar | kInset = 10 |
static SkColor | kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0) |
static SkColor | kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0) |
DEF_SIMPLE_GM | ( | AlternateLuma | , |
canvas | , | ||
384 | , | ||
128 | |||
) |
Definition at line 171 of file lumafilter.cpp.
Definition at line 43 of file lumafilter.cpp.
|
static |
Definition at line 55 of file lumafilter.cpp.
|
static |
Definition at line 40 of file lumafilter.cpp.
|
static |
Definition at line 41 of file lumafilter.cpp.
|
static |
Definition at line 39 of file lumafilter.cpp.
|
static |
Definition at line 38 of file lumafilter.cpp.