Definition at line 22 of file nonclosedpaths.cpp.
◆ ClosureType
Enumerator |
---|
TotallyNonClosed | |
FakeCloseCorner | |
FakeCloseMiddle | |
kClosureTypeCount | |
Definition at line 26 of file nonclosedpaths.cpp.
26 {
28
29
31
32
34
35
37 };
◆ NonClosedPathsGM()
skiagm::NonClosedPathsGM::NonClosedPathsGM |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize skiagm::NonClosedPathsGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString skiagm::NonClosedPathsGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ MakePath()
Definition at line 47 of file nonclosedpaths.cpp.
47 {
52 } else {
54 }
61 }
63 }
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ onDraw()
void skiagm::NonClosedPathsGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 72 of file nonclosedpaths.cpp.
72 {
73
74
75
78
81 };
82
85 };
86
89 };
90
93 };
94
95 int counter = 0;
97 paint.setAntiAlias(
true);
98
99
101 for (
size_t style = 0; style <
std::size(kStyle); ++style) {
102 for (
size_t cap = 0; cap <
std::size(kCap); ++cap) {
107
109
110 paint.setStyle(kStyle[style]);
111 paint.setStrokeCap(kCap[cap]);
114
117 ++counter;
118 }
119 }
120 }
121 }
122 }
123
124
129
131
134 ++counter;
135 }
136 }
void drawPath(const SkPath &path, const SkPaint &paint)
@ kButt_Cap
no stroke extension
@ kStroke_Style
set to stroke geometry
@ kFill_Style
set to fill geometry
@ kStrokeAndFill_Style
sets to stroke and fill geometry
static constexpr int kJoinCount
@ kMiter_Join
extends to miter limit
@ kBevel_Join
connects outside edges
static void SetLocation(SkCanvas *canvas, int counter, int lineNum)
static SkPath MakePath(ClosureType type)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static constexpr float kStrokeWidth
static SkString join(const CommandLineFlags::StringArray &)
◆ SetLocation()
static void skiagm::NonClosedPathsGM::SetLocation |
( |
SkCanvas * |
canvas, |
|
|
int |
counter, |
|
|
int |
lineNum |
|
) |
| |
|
inlinestaticprotected |
Definition at line 66 of file nonclosedpaths.cpp.
66 {
70 }
void translate(SkScalar dx, SkScalar dy)
The documentation for this class was generated from the following file: