Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPathEffect.h"
#include "include/core/SkPathUtils.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkDashPathEffect.h"
#include "include/utils/SkParsePath.h"
#include "src/base/SkFloatBits.h"
#include "src/base/SkRandom.h"
#include "tools/ToolUtils.h"
#include <string.h>
Go to the source code of this file.
Classes | |
class | StrokesGM |
class | ZeroLenStrokesGM |
class | TeenyStrokesGM |
class | Strokes2GM |
class | Strokes3GM |
class | Strokes4GM |
class | Strokes5GM |
Macros | |
#define | W 400 |
#define | H 400 |
#define | N 50 |
Functions | |
static void | rnd_rect (SkRect *r, SkPaint *paint, SkRandom &rand) |
DEF_SIMPLE_GM (CubicStroke, canvas, 384, 384) | |
DEF_SIMPLE_GM (zerolinestroke, canvas, 90, 120) | |
DEF_SIMPLE_GM (quadcap, canvas, 200, 200) | |
static SkRect | inset (const SkRect &r) |
DEF_SIMPLE_GM (zerolinedash, canvas, 256, 256) | |
DEF_SIMPLE_GM (inner_join_geometry, canvas, 1000, 700) | |
DEF_SIMPLE_GM (skbug12244, canvas, 150, 150) | |
Variables | |
constexpr SkScalar | SW = SkIntToScalar(W) |
constexpr SkScalar | SH = SkIntToScalar(H) |
#define H 400 |
Definition at line 34 of file strokes.cpp.
#define N 50 |
Definition at line 35 of file strokes.cpp.
#define W 400 |
Definition at line 33 of file strokes.cpp.
DEF_SIMPLE_GM | ( | CubicStroke | , |
canvas | , | ||
384 | , | ||
384 | |||
) |
Definition at line 208 of file strokes.cpp.
DEF_SIMPLE_GM | ( | inner_join_geometry | , |
canvas | , | ||
1000 | , | ||
700 | |||
) |
Definition at line 558 of file strokes.cpp.
DEF_SIMPLE_GM | ( | quadcap | , |
canvas | , | ||
200 | , | ||
200 | |||
) |
Definition at line 251 of file strokes.cpp.
DEF_SIMPLE_GM | ( | skbug12244 | , |
canvas | , | ||
150 | , | ||
150 | |||
) |
Definition at line 600 of file strokes.cpp.
DEF_SIMPLE_GM | ( | zerolinedash | , |
canvas | , | ||
256 | , | ||
256 | |||
) |
Definition at line 513 of file strokes.cpp.
DEF_SIMPLE_GM | ( | zerolinestroke | , |
canvas | , | ||
90 | , | ||
120 | |||
) |
Definition at line 225 of file strokes.cpp.
Definition at line 332 of file strokes.cpp.
Definition at line 40 of file strokes.cpp.
|
constexpr |
Definition at line 38 of file strokes.cpp.
|
constexpr |
Definition at line 37 of file strokes.cpp.