22void Rect::onClip(
SkCanvas* canvas,
bool antiAlias)
const {
77 return SkPath::RRect(fRRect, this->getDirection(), this->getInitialPointIndex());
#define SK_ScalarNearlyZero
void drawRect(const SkRect &rect, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
void clipRRect(const SkRRect &rrect, SkClipOp op, bool doAntiAlias)
static SkPath RRect(const SkRRect &, SkPathDirection dir=SkPathDirection::kCW)
static SkPath Rect(const SkRect &, SkPathDirection=SkPathDirection::kCW, unsigned startIndex=0)
const SkRect & rect() const
bool contains(const SkRect &rect) const
const SkRect & getBounds() const
bool onContains(const SkPoint &) const override
void onDraw(SkCanvas *, const SkPaint &) const override
void onClip(SkCanvas *, bool antiAlias) const override
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
SkPath onAsPath() const override
sk_sp< SkBlender > blender SkRect rect
bool contains(SkScalar x, SkScalar y) const
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)