Lines Matching refs:Y

56     int const Y[2] = L2I_ARY( rect.Top()+penSize/2, rect.Bottom()-(penSize+1)/2);  in contractRectangle()  local
57 return Rectangle(Point(X[0],Y[0]), Point(X[1], Y[1])); in contractRectangle()
64 int dir[2] = L2I_ARY( dest.X()-orig.X(), dest.Y()-orig.Y() ); in drawLineHQ()
70 int Y[2] = L2I_ARY( orig.Y(), dest.Y()); in drawLineHQ() local
77 Y[1] += pSize.Height(); in drawLineHQ()
80 if (Y[0] < Y[1]) Y[1]+=pSize.Height(); in drawLineHQ()
81 else Y[0]+=pSize.Height(); in drawLineHQ()
84 poly.append(B2DPoint(X[0], Y[0])); poly.append(B2DPoint(X[1], Y[0])); in drawLineHQ()
85 poly.append(B2DPoint(X[1], Y[1])); poly.append(B2DPoint(X[0], Y[1])); in drawLineHQ()
86 poly.append(B2DPoint(X[0], Y[0])); in drawLineHQ()
89 int origPt[4][2] = { L2I_ARY( orig.X(), orig.Y()), in drawLineHQ()
90 L2I_ARY( orig.X()+pSize.Width(), orig.Y()), in drawLineHQ()
91 L2I_ARY( orig.X()+pSize.Width(), orig.Y()+pSize.Height() ), in drawLineHQ()
92 L2I_ARY( orig.X(), orig.Y()+pSize.Height() )}; in drawLineHQ()
94 int destPt[4][2] = { L2I_ARY( dest.X(), dest.Y()), in drawLineHQ()
95 L2I_ARY( dest.X()+pSize.Width(), dest.Y()), in drawLineHQ()
96 L2I_ARY( dest.X()+pSize.Width(), dest.Y()+pSize.Height()), in drawLineHQ()
97 L2I_ARY( dest.X(), dest.Y()+pSize.Height())}; in drawLineHQ()
131 poly.append(B2DPoint(double(orig.X()+decal[0]), double(orig.Y()+decal[1]))); in drawLine()
132 poly.append(B2DPoint(double(dest.X()+decal[0]), double(dest.Y()+decal[1]))); in drawLine()
144 double const Y[2] = L2D_ARY( rect.Top(), rect.Bottom() ); in drawRectangle() local
148 poly.append(B2DPoint(X[0], Y[0])); poly.append(B2DPoint(X[1], Y[0])); in drawRectangle()
149 poly.append(B2DPoint(X[1], Y[1])); poly.append(B2DPoint(X[0], Y[1])); in drawRectangle()
150 poly.append(B2DPoint(X[0], Y[0])); in drawRectangle()
164 double const Y[2] = L2D_ARY( oval.Top(), oval.Bottom() ); in drawEllipse() local
165 B2DPoint center(0.5*(X[1]+X[0]), 0.5*(Y[1]+Y[0])); in drawEllipse()
166 B2DPolygon poly = tools::createPolygonFromEllipse(center, 0.5*(X[1]-X[0]), 0.5*(Y[1]-Y[0])); in drawEllipse()
184 double const Y[2] = L2D_ARY( arc.Top(), arc.Bottom() ); in drawArc() local
185 B2DPoint center(0.5*(X[1]+X[0]), 0.5*(Y[1]+Y[0])); in drawArc()
199 …B2DPolygon poly = tools::createPolygonFromEllipseSegment(center, 0.5*(X[1]-X[0]), 0.5*(Y[1]-Y[0]),… in drawArc()
215 double const Y[2] = L2D_ARY( oval.Top(), oval.Bottom() ); in drawRoundRectangle() local
217 double height = Y[1] - Y[0]; in drawRoundRectangle()
221 B2DRectangle rect(B2DPoint(X[0],Y[0]), B2DPoint(X[1],Y[1])); in drawRoundRectangle()
249 bary[0] += double(pt.X()); bary[1] += double(pt.Y()); in drawPolygon()
259 double y = (double(pt.Y()) < bary[1]) ? pt.Y()+decalTL[1] : pt.Y()+decalBR[1]; in drawPolygon()