Definition at line 94 of file LayersSlide.cpp.
◆ LayersSlide()
LayersSlide::LayersSlide |
( |
| ) |
|
|
inline |
◆ draw()
void LayersSlide::draw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverridevirtual |
Implements Slide.
Definition at line 98 of file LayersSlide.cpp.
98 {
100
101 if ((true)) {
111 return;
112 }
113
114 if ((false)) {
119 p.setAntiAlias(
true);
120
121 if (true) {
123 p.setColor(0xFFFF0000);
126 }
127
128 p.setColor(0xFF0000FF);
131 }
132
133 if ((false)) {
136 p.setAntiAlias(
true);
137
139
142
144
149 return;
150 }
151
153 }
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorBLUE
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void drawOval(const SkRect &oval, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void setWH(float width, float height)
void offset(float dx, float dy)
The documentation for this class was generated from the following file: