30#include <initializer_list>
45 paint.setAntiAlias(
true);
60 paint.setAntiAlias(
true);
61 paint.setPathEffect(effect);
81 const SkScalar intervals[] = { 1, 1 };
87 for (
auto& sampleCount : {1, 4, 16}) {
107 auto dContext = ctxInfo.directContext();
111 paint.setAntiAlias(
true);
120 m.setAll( 0.966006875f , -0.125156224f , 72.0899811f,
121 -0.00885376986f , -0.112347461f , 64.7121124f,
122 -8.94321693e-06f, -0.00173384184f, 0.998692870f);
135 auto dContext = ctxInfo.directContext();
139 paint.setAntiAlias(
true);
143 path.moveTo(9.0072E15f, 60);
144 path.cubicTo(0, 3.40282e+38f, 0, 3.40282e+38f, 0, 0);
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static void test_drawSameRectOvals(skiatest::Reporter *, SkCanvas *canvas)
DEF_GANESH_TEST_FOR_ALL_CONTEXTS(GrDrawCollapsedPath, reporter, ctxInfo, CtsEnforcement::kApiLevel_T)
DEF_GANESH_TEST_FOR_GL_CONTEXT(GpuDrawPath, reporter, ctxInfo, CtsEnforcement::kNever)
static void fill_and_stroke(SkCanvas *canvas, const SkPath &p1, const SkPath &p2, sk_sp< SkPathEffect > effect)
static void test_drawPathEmpty(skiatest::Reporter *, SkCanvas *canvas)
constexpr SkColor SK_ColorGRAY
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawOval(const SkRect &oval, const SkPaint &paint)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
void drawPath(const SkPath &path, const SkPaint &paint)
static sk_sp< SkPathEffect > Make(const SkScalar intervals[], int count, SkScalar phase)
@ kStroke_Style
set to stroke geometry
SkPath & addOval(const SkRect &oval, SkPathDirection dir=SkPathDirection::kCW)
static SkRRect MakeRect(const SkRect &r)
sk_sp< SkBlender > blender SkRect rect
SK_API sk_sp< SkSurface > RenderTarget(GrRecordingContext *context, skgpu::Budgeted budgeted, const SkImageInfo &imageInfo, int sampleCount, GrSurfaceOrigin surfaceOrigin, const SkSurfaceProps *surfaceProps, bool shouldCreateWithMips=false, bool isProtected=false)
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
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeEmpty()
static constexpr SkRect MakeWH(float w, float h)