Lines Matching refs:vertices
363 PolyVertexPtr vertices,
385 maxy = miny = vertices[0].y;
389 if (vertices[i].y < miny)
392 miny = vertices[i].y;
394 if (vertices[i].y >= maxy)
397 maxy = vertices[i].y;
422 y = miPolyBuildEdge (vertices[i].x, vertices[i].y,
453 y = miPolyBuildEdge (vertices[i].x, vertices[i].y,
520 PolyVertexRec vertices[4];
575 vertices[0].x = pRight->xa;
576 vertices[0].y = pRight->ya;
581 vertices[1].x = 0;
582 vertices[1].y = 0;
587 vertices[2].x = pLeft->xa;
588 vertices[2].y = pLeft->ya;
621 vertices[3].x = mx;
622 vertices[3].y = my;
654 y = miPolyBuildPoly (vertices, slopes, edgecount, pLeft->x, pLeft->y,
1679 PolyVertexRec vertices[4];
1764 vertices[V_RIGHT].x = vertices[V_TOP].x = rdy;
1765 vertices[V_RIGHT].y = vertices[V_TOP].y = -rdx;
1767 vertices[V_BOTTOM].x = vertices[V_LEFT].x = -rdy;
1768 vertices[V_BOTTOM].y = vertices[V_LEFT].y = rdx;
1772 vertices[V_TOP].x -= rdx;
1773 vertices[V_TOP].y -= rdy;
1775 vertices[V_LEFT].x -= rdx;
1776 vertices[V_LEFT].y -= rdy;
1804 vertices[V_RIGHT].x += dashDx;
1805 vertices[V_RIGHT].y += dashDy;
1807 vertices[V_BOTTOM].x += dashDx;
1808 vertices[V_BOTTOM].y += dashDy;
1810 slopes[V_RIGHT].k = vertices[V_RIGHT].x * dx + vertices[V_RIGHT].y * dy;
1817 saveRight = vertices[V_RIGHT];
1818 saveBottom = vertices[V_BOTTOM];
1823 vertices[V_TOP].x -= rdx;
1824 vertices[V_TOP].y -= rdy;
1826 vertices[V_LEFT].x -= rdx;
1827 vertices[V_LEFT].y -= rdy;
1829 slopes[V_LEFT].k = vertices[V_LEFT].x *
1831 vertices[V_LEFT].y *
1835 vertices[V_RIGHT].x += rdx;
1836 vertices[V_RIGHT].y += rdy;
1838 vertices[V_BOTTOM].x += rdx;
1839 vertices[V_BOTTOM].y += rdy;
1841 slopes[V_RIGHT].k = vertices[V_RIGHT].x *
1843 vertices[V_RIGHT].y *
1846 y = miPolyBuildPoly (vertices, slopes, 4, x1, y1,
1856 vertices[V_BOTTOM] = saveBottom;
1857 vertices[V_RIGHT] = saveRight;
1865 lcapFace.xa = -vertices[V_LEFT].x;
1866 lcapFace.ya = -vertices[V_LEFT].y;
1871 lcapFace.xa = vertices[V_TOP].x;
1872 lcapFace.ya = vertices[V_TOP].y;
1881 rcapFace.xa = vertices[V_BOTTOM].x;
1882 rcapFace.ya = vertices[V_BOTTOM].y;
1887 rcapFace.xa = -vertices[V_RIGHT].x;
1888 rcapFace.ya = -vertices[V_RIGHT].y;
1907 vertices[V_TOP] = vertices[V_RIGHT];
1908 vertices[V_LEFT] = vertices[V_BOTTOM];
1915 vertices[V_TOP].x -= dx;
1916 vertices[V_TOP].y -= dy;
1918 vertices[V_LEFT].x -= dx;
1919 vertices[V_LEFT].y -= dy;
1921 vertices[V_RIGHT].x = rdy;
1922 vertices[V_RIGHT].y = -rdx;
1924 vertices[V_BOTTOM].x = -rdy;
1925 vertices[V_BOTTOM].y = rdx;
1930 vertices[V_RIGHT].x += rdx;
1931 vertices[V_RIGHT].y += rdy;
1933 vertices[V_BOTTOM].x += rdx;
1934 vertices[V_BOTTOM].y += rdy;
1935 slopes[V_RIGHT].k = vertices[V_RIGHT].x *
1937 vertices[V_RIGHT].y *
1946 vertices[V_TOP].x -= rdx;
1947 vertices[V_TOP].y -= rdy;
1949 vertices[V_LEFT].x -= rdx;
1950 vertices[V_LEFT].y -= rdy;
1951 slopes[V_LEFT].k = vertices[V_LEFT].x *
1953 vertices[V_LEFT].y *
1960 y = miPolyBuildPoly (vertices, slopes, 4, x2, y2,
1972 lcapFace.xa = -vertices[V_LEFT].x;
1973 lcapFace.ya = -vertices[V_LEFT].y;
1978 lcapFace.xa = vertices[V_TOP].x;
1979 lcapFace.ya = vertices[V_TOP].y;