Lines Matching full:startx
202 // The line is defined by (startX, startY) -> (endX, endY), computed via the
204 int startX;
206 transform_.Map(0, y, &startX, &startY);
212 // Clamp (startX, startY) and (endX, endY) to the valid bounds of the plane.
213 startX = min(startX, plane_.width - 1);
217 startX = max(startX, 0);
225 int dx = sgn(endX - startX);
228 // The index into plane_.data of (startX, startY)
229 int plane_start = startX * plane_.pixel_stride + startY * plane_.row_stride;
235 // In the degenerate-case of a 1x1 plane, startX and endX are equal, so