33 str.
printf(
"complexclip4_%s",
34 fDoAAClip ?
"aa" :
"bw");
72 p.setAntiAlias(fDoAAClip);
127 using INHERITED =
GM;
132DEF_GM(
return new ComplexClip4GM(
false);)
133DEF_GM(
return new ComplexClip4GM(
true);)
constexpr SkColor SK_ColorYELLOW
constexpr SkColor SK_ColorGREEN
static void ResetClip(SkCanvas *canvas)
void drawRect(const SkRect &rect, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void androidFramework_setDeviceClipRestriction(const SkIRect &rect)
void rotate(SkScalar degrees)
void clipPath(const SkPath &path, SkClipOp op, bool doAntiAlias)
void clipRRect(const SkRRect &rrect, SkClipOp op, bool doAntiAlias)
static SkPath Polygon(const SkPoint pts[], int count, bool isClosed, SkPathFillType=SkPathFillType::kWinding, bool isVolatile=false)
static SkRRect MakeOval(const SkRect &oval)
void printf(const char format[],...) SK_PRINTF_LIKE(2
void emulateClipPathReplace(SkCanvas *canvas, const SkPath &path, bool aa)
void emulateDeviceRestriction(SkCanvas *canvas, const SkIRect &deviceRestriction)
void onDraw(SkCanvas *canvas) override
void emulateClipRRectReplace(SkCanvas *canvas, const SkRRect &clipRRect, bool aa)
void emulateClipRectReplace(SkCanvas *canvas, const SkRect &clipRect, bool aa)
SkISize getISize() override
SkString getName() const override
ComplexClip4GM(bool aaclip)
GM(SkColor backgroundColor=SK_ColorWHITE)
clipRRect(r.rrect, r.opAA.op(), r.opAA.aa())) DRAW(ClipRect
clipRect(r.rect, r.opAA.op(), r.opAA.aa())) template<> void Draw
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static constexpr SkIRect MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b)
static constexpr SkISize Make(int32_t w, int32_t h)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)