Definition at line 105 of file ClipSlide.cpp.
◆ ClipSlide()
◆ draw()
void ClipSlide::draw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverridevirtual |
Implements Slide.
Definition at line 109 of file ClipSlide.cpp.
109 {
112
115 };
116
120
121
122
123 for (int aa = 0; aa <= 1; ++aa) {
125 for (
size_t i = 0; i < std::size(
gProc); ++i) {
128
130 canvas->restore();
132 }
133 canvas->restore();
135 }
136 }
void(* CanvasProc)(SkCanvas *, bool)
static void show_thick(SkCanvas *canvas, bool doAA)
static void show_fill(SkCanvas *canvas, bool doAA)
static void show_text(SkCanvas *canvas, bool doAA)
static void show_hair(SkCanvas *canvas, bool doAA)
constexpr SkColor SK_ColorWHITE
static constexpr bool SkToBool(const T &x)
static const SlideProc gProc[]
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void clipPath(const SkPath &path, SkClipOp op, bool doAntiAlias)
SkPathBuilder & addRRect(const SkRRect &, SkPathDirection, unsigned startIndex)
static SkRRect MakeRectXY(const SkRect &rect, SkScalar xRad, SkScalar yRad)
clipPath(r.path, r.opAA.op(), r.opAA.aa())) DRAW(ClipRRect
void inset(float dx, float dy)
The documentation for this class was generated from the following file: