Lines Matching refs:rect
51 Rect rect = node->GetWindowRect();
52 zoomInfo_.pivotX = rect.posX_ + zoomTrans.pivotX_ * rect.width_;
53 zoomInfo_.pivotY = rect.posY_ + zoomTrans.pivotY_ * rect.height_;
218 Rect rect = node->GetWindowRect();
219 if (rect.width_ == 0 || rect.height_ == 0) {
223 TransformHelper::Vector3 lastPivotPos = { rect.posX_ + lastZoomTrans.pivotX_ * rect.width_,
224 rect.posY_ + lastZoomTrans.pivotY_ * rect.height_, 0 };
233 TransformHelper::Vector3 animatePivotPos = { rect.posX_ + animateTrans.pivotX_ * rect.width_,
234 rect.posY_ + animateTrans.pivotY_ * rect.height_, 0 };
241 finalZoomTrans.pivotX_ = (0 - rect.posX_) * 1.0 / rect.width_;
242 finalZoomTrans.pivotY_ = (0 - rect.posY_) * 1.0 / rect.height_;
260 Rect rect = node->GetWindowRect();
261 if (rect.width_ == 0 || rect.height_ == 0) {
264 zoomTrans.pivotX_ = (zoomInfo_.pivotX - rect.posX_) * 1.0 / rect.width_;
265 zoomTrans.pivotY_ = (zoomInfo_.pivotY - rect.posY_) * 1.0 / rect.height_;
274 Rect rect = node->GetWindowRect();
275 if (rect.width_ == 0 || rect.height_ == 0) {
279 TransformHelper::Vector3 lastPivotPos = { rect.posX_ + lastZoomTrans.pivotX_ * rect.width_,
280 rect.posY_ + lastZoomTrans.pivotY_ * rect.height_, 0 };
296 finalZoomTrans.pivotX_ = (0 - rect.posX_) * 1.0 / rect.width_;
297 finalZoomTrans.pivotY_ = (0 - rect.posY_) * 1.0 / rect.height_;