Definition at line 323 of file smallpaths.cpp.
◆ getISize()
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString SmallPathsGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void SmallPathsGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 339 of file smallpaths.cpp.
339 {
341 paint.setAntiAlias(
true);
342
343
345 for (
size_t i = 0;
i <
N;
i++) {
348 }
351
352
356 for (
size_t i = 0;
i <
N;
i++) {
361 }
364
365
369 for (
size_t i = 0;
i <
N;
i++) {
374 }
377
378
381 for (
size_t i = 0;
i <
N;
i++) {
386 }
387
388 }
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kButt_Cap
no stroke extension
@ kStroke_Style
set to stroke geometry
@ kStrokeAndFill_Style
sets to stroke and fill geometry
constexpr SkScalar gMiters[]
constexpr SkScalar gWidths[]
constexpr SkScalar gXTranslate[]
◆ onOnceBeforeDraw()
void SmallPathsGM::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 327 of file smallpaths.cpp.
327 {
328 for (
size_t i = 0;
i <
N;
i++) {
332 }
333 }
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
constexpr MakePathProc gProcs[]
The documentation for this class was generated from the following file: