Lines Matching full:rect
97 return new base.Rect.FromXYWH(x0, y0, x1 - x0, y1 - y0);
137 projectUnitRect: function(rect) {
139 this.projectUnitRectFast(q, rect);
143 projectUnitRectFast: function(dstQuad, rect) {
170 lerpVec2(b12, v12, v43, rect.y);
171 lerpVec2(b43, v12, v43, 1 - rect.bottom);
172 lerpVec2(b14, v14, v23, rect.x);
173 lerpVec2(b23, v14, v23, 1 - rect.right);
176 b12, l12 * rect.x,
177 b14, l14 * rect.y);
181 b12, l12 * -(1.0 - rect.right),
182 b23, l23 * rect.y);
187 b43, l43 * -(1.0 - rect.right),
188 b23, l23 * -(1.0 - rect.bottom));
192 b43, l43 * rect.left,
193 b14, l14 * -(1.0 - rect.bottom));