|
SkString | name () override |
|
sk_sp< ShapeRenderer > | toHairline () override |
|
void | draw (SkCanvas *canvas, SkPaint *paint, SkScalar tx, SkScalar ty, SkScalar angle) override |
|
virtual void | draw (SkCanvas *canvas, SkPaint *paint, SkScalar tx, SkScalar ty, SkScalar angle)=0 |
|
virtual SkString | name ()=0 |
|
virtual sk_sp< ShapeRenderer > | toHairline ()=0 |
|
void | applyLocalTransform (SkCanvas *canvas, SkScalar tx, SkScalar ty, SkScalar angle) |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Definition at line 71 of file ThinAASlide.cpp.
◆ draw()
Implements skiagm::ShapeRenderer.
Definition at line 107 of file ThinAASlide.cpp.
107 {
110
111 if (fDepth > 0.f) {
114 } else {
115 if (fDepth < 0.f) {
117 }
119 }
120
121 if (fHairline) {
122
126
127 return;
128 }
130 paint->setStrokeWidth(0.f);
131 }
132
133
134
135
136
140
143 }
void drawPath(const SkPath &path, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
@ kMiter_Join
extends to miter limit
static constexpr SkScalar kTileHeight
static constexpr SkScalar kTileWidth
void applyLocalTransform(SkCanvas *canvas, SkScalar tx, SkScalar ty, SkScalar angle)
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
◆ MakeCurve()
◆ MakeLine()
Definition at line 73 of file ThinAASlide.cpp.
73 {
75 }
static sk_sp< ShapeRenderer > MakeCurve(SkScalar depth, bool hairline=false)
◆ MakeLines()
◆ name()
Implements skiagm::ShapeRenderer.
Definition at line 85 of file ThinAASlide.cpp.
85 {
87 if (fHairline) {
89 if (fDepth > 0.f) {
91 }
92 } else if (fDepth > 0.f) {
94 } else if (fDepth < 0.f) {
96 } else {
98 }
99
101 }
void append(const char text[])
void void void appendf(const char format[],...) SK_PRINTF_LIKE(2
◆ toHairline()
The documentation for this class was generated from the following file: