Searched refs:y1 (Results 1 – 1 of 1) sorted by relevance
133 void getBoundingBox(int *x1, int *y1, int *x2, int *y2) const { in getBoundingBox() argument136 *y1 = mMinY; in getBoundingBox()314 int x1, int y1, in drawLine() argument316 if ((x0 == x1) && (y0 == y1)) { in drawLine()323 if ( std::abs(x1-x0) > std::abs(y1-y0) ) { in drawLine()326 std::swap(y0, y1); in drawLine()328 float slope = (float)(y1 - y0) / (x1 - x0); in drawLine()337 if (y0 > y1) { in drawLine()339 std::swap(y0, y1); in drawLine()341 float invSlope = (float)(x1 - x0) / (y1 - y0); in drawLine()[all …]