30 constexpr SkScalar kExtents = 1000.0f;
47 pict->cullRect().height()));
53 pict2->playback(canvas);
63DEF_GM(
return new DistantClipGM; )
static constexpr uint64_t kOffset
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorGREEN
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void clipPath(const SkPath &path, SkClipOp op, bool doAntiAlias)
static SkPath RRect(const SkRRect &, SkPathDirection dir=SkPathDirection::kCW)
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
SkISize getISize() override
void onDraw(SkCanvas *canvas) override
SkString getName() const override
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)