Lines Matching refs:imageView
689 UIExtendImageView* imageView = new UIExtendImageView(); in DrawImage() local
690 if (imageView == nullptr) { in DrawImage()
694 imageView->SetCanvas(this); in DrawImage()
695 imageView->SetPosition(startPoint.x, startPoint.y); in DrawImage()
696 imageView->SetSrc(image); in DrawImage()
700 cmd.param = imageView; in DrawImage()
717 UIExtendImageView* imageView = new UIExtendImageView(); in DrawImage() local
718 if (imageView == nullptr) { in DrawImage()
722 imageView->SetCanvas(this); in DrawImage()
723 imageView->SetPosition(startPoint.x, startPoint.y); in DrawImage()
724 imageView->SetSrc(image); in DrawImage()
727 if (width > 0 && imageView->GetWidth() > 0) { in DrawImage()
728 scaleX = (float)width / (float)imageView->GetWidth(); in DrawImage()
730 if (height > 0 && imageView->GetHeight() > 0) { in DrawImage()
731 scaleY = (float)height / (float)imageView->GetHeight(); in DrawImage()
736 cmd.param = imageView; in DrawImage()
1252 UIImageView* imageView = static_cast<UIImageView*>(param); in DoDrawImage() local
1253 Point startPos = {imageView->GetX(), imageView->GetY()}; in DoDrawImage()
1256 imageView->SetPosition(start.x, start.y); in DoDrawImage()
1259 imageView->Rotate(MATH_ROUND(angle), Vector2<float>(0, 0)); in DoDrawImage()
1260 imageView->Translate(Vector3<int16_t>(paint.GetTranslateX(), paint.GetTranslateY(), 1)); in DoDrawImage()
1262 imageView->Scale(scale, Vector2<float>(0, 0)); in DoDrawImage()
1264 imageView->OnDraw(gfxDstBuffer, invalidatedArea); in DoDrawImage()
1265 imageView->SetPosition(startPos.x, startPos.y); in DoDrawImage()