◆ DegenerateTwoPtRadialsSlide()
DegenerateTwoPtRadialsSlide::DegenerateTwoPtRadialsSlide |
( |
| ) |
|
|
inline |
◆ animate()
bool DegenerateTwoPtRadialsSlide::animate |
( |
double |
nanos | ) |
|
|
inlineoverridevirtual |
◆ draw()
void DegenerateTwoPtRadialsSlide::draw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverridevirtual |
Implements Slide.
Definition at line 42 of file DegenerateTwoPtRadialsSlide.cpp.
42 {
43 canvas->
clear(0xFFDDDDDD);
47 if (intPart % 2) {
49 }
51 static const int DELTA_SCALE = 500;
53
60 txt.appendf(
"gap at \"tangent\" pt = %f",
delta);
62 l +
w / 2 +
w * DELTA_SCALE *
delta,
66 }
static void draw_gradient2(SkCanvas *canvas, const SkRect &rect, SkScalar delta)
#define SkScalarFloorToInt(x)
void clear(SkColor color)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
The documentation for this class was generated from the following file: