Skip to content

Commit

Permalink
Update WindowPin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xland committed Jun 5, 2024
1 parent 769fc97 commit d70a35f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/WindowPin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ void WindowPin::initCanvas()
canvas->clear(SK_ColorTRANSPARENT);
canvas->drawImageRect(img, imgRect, SkSamplingOptions(SkFilterMode::kNearest, SkMipmapMode::kNearest));

SkPaint paint;
SkPath path;
path.addRRect(SkRRect::MakeRectXY(SkRect::MakeXYWH(shadowSize - 2, shadowSize - 2, imgRect.width() + 4, imgRect.height() + 4), 6, 6));
SkPoint3 zPlaneParams = SkPoint3::Make(0, 0, 20);// 定义阴影与 z 平面的关系
Expand Down

0 comments on commit d70a35f

Please sign in to comment.