Lines Matching defs:tmp
97 SkPoint tmp[5]; // for SkChopQuadAt
103 SkChopQuadAt(pts, tmp, t);
105 tmp[2].fY = clip.fTop;
106 clamp_ge(tmp[3].fY, clip.fTop);
108 pts[0] = tmp[2];
109 pts[1] = tmp[3];
124 SkChopQuadAt(pts, tmp, t);
126 clamp_le(tmp[1].fY, clip.fBottom);
127 tmp[2].fY = clip.fBottom;
129 pts[1] = tmp[1];
130 pts[2] = tmp[2];
178 SkPoint tmp[5]; // for SkChopQuadAt
183 SkChopQuadAt(pts, tmp, t);
184 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[2].fY, reverse);
186 tmp[2].fX = clip.fLeft;
187 clamp_ge(tmp[3].fX, clip.fLeft);
189 pts[0] = tmp[2];
190 pts[1] = tmp[3];
202 SkChopQuadAt(pts, tmp, t);
204 clamp_le(tmp[1].fX, clip.fRight);
205 tmp[2].fX = clip.fRight;
207 this->appendQuad(tmp, reverse);
208 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse);
287 SkPoint tmp[7];
288 chop_mono_cubic_at_y(pts, clip.fTop, tmp);
296 * distort the cubic. In this case, we take the first output (tmp[3..6] and treat it as
300 if (tmp[3].fY < clip.fTop && tmp[4].fY < clip.fTop && tmp[5].fY < clip.fTop) {
302 memcpy(tmp2, &tmp[3].fX, 4 * sizeof(SkPoint));
303 chop_mono_cubic_at_y(tmp2, clip.fTop, tmp);
306 // tmp[3, 4].fY should all be to the below clip.fTop.
308 tmp[3].fY = clip.fTop;
309 clamp_ge(tmp[4].fY, clip.fTop);
311 pts[0] = tmp[3];
312 pts[1] = tmp[4];
313 pts[2] = tmp[5];
318 SkPoint tmp[7];
319 chop_mono_cubic_at_y(pts, clip.fBottom, tmp);
320 tmp[3].fY = clip.fBottom;
321 clamp_le(tmp[2].fY, clip.fBottom);
323 pts[1] = tmp[1];
324 pts[2] = tmp[2];
325 pts[3] = tmp[3];
371 SkPoint tmp[7];
372 chop_mono_cubic_at_x(pts, clip.fLeft, tmp);
373 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[3].fY, reverse);
375 // tmp[3, 4].fX should all be to the right of clip.fLeft.
378 tmp[3].fX = clip.fLeft;
379 clamp_ge(tmp[4].fX, clip.fLeft);
381 pts[0] = tmp[3];
382 pts[1] = tmp[4];
383 pts[2] = tmp[5];
388 SkPoint tmp[7];
389 chop_mono_cubic_at_x(pts, clip.fRight, tmp);
390 tmp[3].fX = clip.fRight;
391 clamp_le(tmp[2].fX, clip.fRight);
393 this->appendCubic(tmp, reverse);
394 this->appendVLine(clip.fRight, tmp[3].fY, tmp[6].fY, reverse);