Definition at line 324 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 340 of file smallpaths.cpp.
340 {
342 paint.setAntiAlias(
true);
343
344
346 for (
size_t i = 0; i <
N; i++) {
349 }
352
353
357 for (
size_t i = 0; i <
N; i++) {
362 }
365
366
370 for (
size_t i = 0; i <
N; i++) {
375 }
378
379
382 for (
size_t i = 0; i <
N; i++) {
387 }
388
389 }
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 328 of file smallpaths.cpp.
328 {
329 for (
size_t i = 0; i <
N; i++) {
332 fDY[i] = dy;
333 }
334 }
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: