Definition at line 16 of file clip_strokerect.cpp.
◆ ClipStrokeRectGM()
ClipStrokeRectGM::ClipStrokeRectGM |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize ClipStrokeRectGM::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString ClipStrokeRectGM::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void ClipStrokeRectGM::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 27 of file clip_strokerect.cpp.
27 {
33
35
37
42
46
51
53
55
60
64 }
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
void drawRect(const SkRect &rect, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
@ kStroke_Style
set to stroke geometry
sk_sp< SkBlender > blender SkRect rect
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
The documentation for this class was generated from the following file: