Lines Matching refs:Make
90 canvas->clipRect(SkRect::Make(fSlide->getDimensions()), true);
132 fShadePaint = sksg::Color::Make(kFocusShade);
133 fShade = sksg::Draw::Make(sksg::Plane::Make(), fShadePaint);
275 auto text = sksg::Text::Make(nullptr, txt);
279 text->setPosition(pos + SkPoint::Make(0, size));
281 return sksg::Draw::Make(std::move(text), sksg::Color::Make(SK_ColorBLACK));
303 fWinSize = SkSize::Make(winWidth, winHeight);
305 fCellSize = SkSize::Make(cellWidth, cellWidth / kAspectRatio);
307 fRoot = sksg::Group::Make();
320 auto slideMatrix = sksg::Matrix<SkMatrix>::Make(SlideMatrix(slide, slideRect));
322 auto slideGrp = sksg::Group::Make();
323 slideGrp->addChild(sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeIWH(slideSize.width(),
325 sksg::Color::Make(0xfff0f0f0)));
328 SkPoint::Make(slideSize.width() / 2, slideSize.height()),
330 auto slideRoot = sksg::TransformEffect::Make(std::move(slideGrp), slideMatrix);
338 fScene = sksg::Scene::Make(fRoot);
358 return SkSize::Make(fWinSize.width(),
413 fTrackingPos = SkPoint::Make(x, y);
417 SkPoint::Distance(fTrackingPos, SkPoint::Make(x, y)) < kClickMoveTolerance) {