5#include "flutter/impeller/aiks/aiks_unittests.h"
7#include "flutter/display_list/dl_blend_mode.h"
8#include "flutter/display_list/dl_builder.h"
9#include "flutter/display_list/dl_color.h"
10#include "flutter/display_list/dl_paint.h"
11#include "flutter/display_list/effects/dl_color_filter.h"
12#include "flutter/testing/testing.h"
26 arrow_stem.
moveTo({120, 190}).lineTo({120, 50});
27 arrow_head.
moveTo({50, 120}).lineTo({120, 190}).lineTo({190, 120});
33 paint.setStrokeWidth(15.0);
37 paint.setColorFilter(filter);
43 ASSERT_TRUE(OpenPlaygroundHere(
builder.Build()));
static SkMatrix RotateDeg(SkScalar deg)
static SkMatrix Translate(SkScalar dx, SkScalar dy)
SkPath & moveTo(SkScalar x, SkScalar y)
static std::shared_ptr< DlColorFilter > Make(DlColor color, DlBlendMode mode)
@ kStroke
strokes boundary of shapes
TEST_P(AiksTest, CanRenderAdvancedBlendColorFilterWithSaveLayer)
static constexpr DlColor kBlack()
static constexpr DlColor kAliceBlue()