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/SkPathBuilder.h"
#include "include/core/SkPathMeasure.h"
#include "include/core/SkPathUtils.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "src/core/SkPointPriv.h"
#include <cstddef>
Go to the source code of this file.
Functions | |
SkPaint | make_normal_paint () |
SkPaint | make_overstroke_paint () |
SkPath | quad_path () |
SkPath | cubic_path () |
SkPath | oval_path () |
SkPath | ribs_path (SkPath path, SkScalar radius) |
void | draw_ribs (SkCanvas *canvas, SkPath path) |
void | draw_small_quad (SkCanvas *canvas) |
void | draw_large_quad (SkCanvas *canvas) |
void | draw_quad_fillpath (SkCanvas *canvas) |
void | draw_stroked_quad (SkCanvas *canvas) |
void | draw_small_cubic (SkCanvas *canvas) |
void | draw_large_cubic (SkCanvas *canvas) |
void | draw_cubic_fillpath (SkCanvas *canvas) |
void | draw_stroked_cubic (SkCanvas *canvas) |
void | draw_small_oval (SkCanvas *canvas) |
void | draw_large_oval (SkCanvas *canvas) |
void | draw_oval_fillpath (SkCanvas *canvas) |
void | draw_stroked_oval (SkCanvas *canvas) |
DEF_SIMPLE_GM (OverStroke, canvas, 500, 500) | |
Variables | |
const SkScalar | OVERSTROKE_WIDTH = 500.0f |
const SkScalar | NORMALSTROKE_WIDTH = 3.0f |
void(* | examples [])(SkCanvas *canvas) |
SkPath cubic_path | ( | ) |
Definition at line 68 of file overstroke.cpp.
DEF_SIMPLE_GM | ( | OverStroke | , |
canvas | , | ||
500 | , | ||
500 | |||
) |
Definition at line 240 of file overstroke.cpp.
void draw_cubic_fillpath | ( | SkCanvas * | canvas | ) |
Definition at line 176 of file overstroke.cpp.
void draw_large_cubic | ( | SkCanvas * | canvas | ) |
Definition at line 168 of file overstroke.cpp.
void draw_large_oval | ( | SkCanvas * | canvas | ) |
Definition at line 206 of file overstroke.cpp.
void draw_large_quad | ( | SkCanvas * | canvas | ) |
Definition at line 131 of file overstroke.cpp.
void draw_oval_fillpath | ( | SkCanvas * | canvas | ) |
Definition at line 214 of file overstroke.cpp.
void draw_quad_fillpath | ( | SkCanvas * | canvas | ) |
Definition at line 139 of file overstroke.cpp.
Definition at line 108 of file overstroke.cpp.
void draw_small_cubic | ( | SkCanvas * | canvas | ) |
Definition at line 160 of file overstroke.cpp.
void draw_small_oval | ( | SkCanvas * | canvas | ) |
void draw_small_quad | ( | SkCanvas * | canvas | ) |
void draw_stroked_cubic | ( | SkCanvas * | canvas | ) |
Definition at line 189 of file overstroke.cpp.
void draw_stroked_oval | ( | SkCanvas * | canvas | ) |
Definition at line 227 of file overstroke.cpp.
void draw_stroked_quad | ( | SkCanvas * | canvas | ) |
Definition at line 152 of file overstroke.cpp.
SkPaint make_normal_paint | ( | ) |
Definition at line 41 of file overstroke.cpp.
SkPaint make_overstroke_paint | ( | ) |
Definition at line 51 of file overstroke.cpp.
SkPath oval_path | ( | ) |
Definition at line 78 of file overstroke.cpp.
SkPath quad_path | ( | ) |
Definition at line 60 of file overstroke.cpp.
Definition at line 84 of file overstroke.cpp.
Definition at line 235 of file overstroke.cpp.
const SkScalar NORMALSTROKE_WIDTH = 3.0f |
Definition at line 37 of file overstroke.cpp.
const SkScalar OVERSTROKE_WIDTH = 500.0f |
Definition at line 36 of file overstroke.cpp.