• Home
  • Raw
  • Download

Lines Matching refs:lx

21                               float lx[4], float ly[4], float lw[4]) {  in interpolate_local()
28 lx[v0] = alpha * lx[v0] + beta * lx[v2]; in interpolate_local()
32 lx[v1] = alpha * lx[v1] + beta * lx[v3]; in interpolate_local()
41 float x[4], float y[4], float lx[4], float ly[4], float lw[4]) { in crop_rect_edge()
51 if (lx) { in crop_rect_edge()
53 interpolate_local(alpha, v0, v1, v2, v3, lx, ly, lw); in crop_rect_edge()
60 if (lx) { in crop_rect_edge()
62 interpolate_local(alpha, v0, v1, v2, v3, lx, ly, lw); in crop_rect_edge()
73 if (lx) { in crop_rect_edge()
75 interpolate_local(alpha, v0, v1, v2, v3, lx, ly, lw); in crop_rect_edge()
82 if (lx) { in crop_rect_edge()
84 interpolate_local(alpha, v0, v1, v2, v3, lx, ly, lw); in crop_rect_edge()
99 float lx[4], float ly[4], float lw[4]) { in crop_rect()
107 if (crop_rect_edge(clipDevRect, 0, 1, 2, 3, x, y, lx, ly, lw)) { in crop_rect()
111 if (crop_rect_edge(clipDevRect, 0, 2, 1, 3, x, y, lx, ly, lw)) { in crop_rect()
115 if (crop_rect_edge(clipDevRect, 2, 3, 0, 1, x, y, lx, ly, lw)) { in crop_rect()
119 if (crop_rect_edge(clipDevRect, 1, 3, 0, 2, x, y, lx, ly, lw)) { in crop_rect()
129 float lx[4], float ly[4]) { in crop_simple_rect()
133 const SkScalar dx = lx ? (lx[2] - lx[0]) / (x[2] - x[0]) : 0.f; in crop_simple_rect()
136 if (lx) { in crop_simple_rect()
137 lx[0] += (clipDevRect.fLeft - x[0]) * dx; in crop_simple_rect()
138 lx[1] = lx[0]; in crop_simple_rect()
154 if (lx) { in crop_simple_rect()
155 lx[2] -= (x[2] - clipDevRect.fRight) * dx; in crop_simple_rect()
156 lx[3] = lx[2]; in crop_simple_rect()