Flutter Engine
The Flutter Engine
|
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkPaint.h"
#include "include/core/SkVertices.h"
#include "include/effects/SkGradientShader.h"
#include "src/core/SkBlurMask.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkWriteBuffer.h"
#include "tools/EncodeUtils.h"
#include "tools/viewer/ClickHandlerSlide.h"
#include "include/effects/Sk1DPathEffect.h"
#include "include/effects/Sk2DPathEffect.h"
#include "include/effects/SkCornerPathEffect.h"
#include "include/effects/SkDashPathEffect.h"
#include "include/effects/SkDiscretePathEffect.h"
#include "include/core/SkStream.h"
#include "src/base/SkRandom.h"
#include "src/core/SkOSFile.h"
#include "tools/DecodeUtils.h"
#include "include/core/SkTypeface.h"
Go to the source code of this file.
Classes | |
struct | GradData |
class | Rec |
class | SlidesSlide |
Macros | |
#define | BG_COLOR 0xFFDDDDDD |
Typedefs | |
typedef void(* | SlideProc) (SkCanvas *) |
typedef void(* | PE_Proc) (SkPaint *) |
typedef sk_sp< SkShader >(* | GradMaker) (const SkPoint pts[2], const GradData &, SkTileMode) |
Functions | |
static void | compose_pe (SkPaint *paint) |
static void | hair_pe (SkPaint *paint) |
static void | hair2_pe (SkPaint *paint) |
static void | stroke_pe (SkPaint *paint) |
static void | dash_pe (SkPaint *paint) |
static void | scale (SkPath *path, SkScalar scale) |
static void | one_d_pe (SkPaint *paint) |
static void | fill_pe (SkPaint *paint) |
static void | discrete_pe (SkPaint *paint) |
static sk_sp< SkPathEffect > | MakeTileEffect () |
static void | tile_pe (SkPaint *paint) |
static void | patheffect_slide (SkCanvas *canvas) |
static sk_sp< SkShader > | MakeLinear (const SkPoint pts[2], const GradData &data, SkTileMode tm) |
static sk_sp< SkShader > | MakeRadial (const SkPoint pts[2], const GradData &data, SkTileMode tm) |
static sk_sp< SkShader > | MakeSweep (const SkPoint pts[2], const GradData &data, SkTileMode tm) |
static sk_sp< SkShader > | Make2Conical (const SkPoint pts[2], const GradData &data, SkTileMode tm) |
static void | gradient_slide (SkCanvas *canvas) |
static sk_sp< SkShader > | make_shader0 (SkIPoint *size) |
static sk_sp< SkShader > | make_shader1 (const SkIPoint &size) |
static void | make_tris (Rec *rec) |
static void | make_fan (Rec *rec, int texWidth, int texHeight) |
static void | make_strip (Rec *rec, int texWidth, int texHeight) |
static void | mesh_slide (SkCanvas *canvas) |
Variables | |
static const int | gXY [] |
static const PE_Proc | gPE [] = { hair_pe, hair2_pe, stroke_pe, dash_pe, one_d_pe } |
static const PE_Proc | gPE2 [] = { fill_pe, discrete_pe, tile_pe } |
static const SkColor | gColors [] |
static const SkScalar | gPos0 [] = { 0, SK_Scalar1 } |
static const SkScalar | gPos1 [] = { SK_Scalar1/4, SK_Scalar1*3/4 } |
static const SkScalar | gPos2 [] |
static const GradData | gGradData [] |
static const GradMaker | gGradMakers [] |
static const SlideProc | gProc [] |
#define BG_COLOR 0xFFDDDDDD |
Definition at line 18 of file SlidesSlide.cpp.
typedef sk_sp< SkShader >(* GradMaker) (const SkPoint pts[2], const GradData &, SkTileMode) |
Definition at line 207 of file SlidesSlide.cpp.
typedef void(* PE_Proc) (SkPaint *) |
Definition at line 87 of file SlidesSlide.cpp.
typedef void(* SlideProc) (SkCanvas *) |
Definition at line 20 of file SlidesSlide.cpp.
|
static |
Definition at line 30 of file SlidesSlide.cpp.
|
static |
Definition at line 56 of file SlidesSlide.cpp.
|
static |
Definition at line 95 of file SlidesSlide.cpp.
|
static |
Definition at line 90 of file SlidesSlide.cpp.
|
static |
Definition at line 212 of file SlidesSlide.cpp.
|
static |
Definition at line 46 of file SlidesSlide.cpp.
|
static |
Definition at line 42 of file SlidesSlide.cpp.
|
static |
Definition at line 196 of file SlidesSlide.cpp.
Definition at line 285 of file SlidesSlide.cpp.
Definition at line 243 of file SlidesSlide.cpp.
Definition at line 250 of file SlidesSlide.cpp.
Definition at line 316 of file SlidesSlide.cpp.
|
static |
Definition at line 269 of file SlidesSlide.cpp.
|
static |
Definition at line 177 of file SlidesSlide.cpp.
|
static |
Definition at line 181 of file SlidesSlide.cpp.
|
static |
Definition at line 189 of file SlidesSlide.cpp.
|
static |
Definition at line 99 of file SlidesSlide.cpp.
|
static |
Definition at line 351 of file SlidesSlide.cpp.
|
static |
Definition at line 73 of file SlidesSlide.cpp.
|
static |
Definition at line 115 of file SlidesSlide.cpp.
|
static |
Definition at line 51 of file SlidesSlide.cpp.
|
static |
Definition at line 109 of file SlidesSlide.cpp.
|
static |
Definition at line 160 of file SlidesSlide.cpp.
|
static |
Definition at line 169 of file SlidesSlide.cpp.
|
static |
Definition at line 208 of file SlidesSlide.cpp.
Definition at line 88 of file SlidesSlide.cpp.
|
static |
Definition at line 113 of file SlidesSlide.cpp.
|
static |
Definition at line 163 of file SlidesSlide.cpp.
|
static |
Definition at line 164 of file SlidesSlide.cpp.
|
static |
Definition at line 165 of file SlidesSlide.cpp.
|
static |
Definition at line 395 of file SlidesSlide.cpp.
|
static |
Definition at line 63 of file SlidesSlide.cpp.