Lines Matching refs:pSize

50   Rectangle contractRectangle(bool drawFrame, Rectangle const &rect, Size const &pSize) {  in contractRectangle()  argument
52 int penSize=(pSize.Width()+pSize.Height())/2; in contractRectangle()
63 bool drawLineHQ(VirtualDevice *dev, Point const &orig, Point const &dest, Size const &pSize) { in drawLineHQ() argument
75 if (X[0] < X[1]) X[1]+=pSize.Width(); in drawLineHQ()
76 else X[0]+=pSize.Width(); in drawLineHQ()
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()
82 X[1] += pSize.Width(); 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()
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()
123 void drawLine(VirtualDevice *dev, Point const &orig, Point const &dest, Size const &pSize) { in drawLine() argument
124 if (drawLineHQ(dev,orig,dest,pSize)) return; in drawLine()
126 int penSize=(pSize.Width()+pSize.Height())/2; in drawLine()
127 int decal[2] = L2I_ARY( pSize.Width()/2, pSize.Height()/2); in drawLine()
140 void drawRectangle(VirtualDevice *dev, bool drawFrame, Rectangle const &orig, Size const &pSize) { in drawRectangle() argument
141 int penSize=(pSize.Width()+pSize.Height())/2; in drawRectangle()
142 Rectangle rect = PictReaderShapePrivate::contractRectangle(drawFrame, orig, pSize); in drawRectangle()
159 void drawEllipse(VirtualDevice *dev, bool drawFrame, Rectangle const &orig, Size const &pSize) { in drawEllipse() argument
160 int penSize=(pSize.Width()+pSize.Height())/2; in drawEllipse()
161 Rectangle oval = PictReaderShapePrivate::contractRectangle(drawFrame, orig, pSize); in drawEllipse()
174 … drawFrame, Rectangle const &orig, const double& angle1, const double& angle2, Size const &pSize) { in drawArc() argument
175 int penSize=(pSize.Width()+pSize.Height())/2; in drawArc()
176 Rectangle arc = PictReaderShapePrivate::contractRectangle(drawFrame, orig, pSize); in drawArc()
209 …rtualDevice *dev, bool drawFrame, Rectangle const &orig, Size const &ovalSize, Size const &pSize) { in drawRoundRectangle() argument
210 int penSize=(pSize.Width()+pSize.Height())/2; in drawRoundRectangle()
211 Rectangle oval = PictReaderShapePrivate::contractRectangle(drawFrame, orig, pSize); in drawRoundRectangle()
231 void drawPolygon(VirtualDevice *dev, bool drawFrame, Polygon const &orig, Size const &pSize) { in drawPolygon() argument
232 int penSize=(pSize.Width()+pSize.Height())/2; in drawPolygon()
234 int decalBR[2] = L2I_ARY( pSize.Width(), pSize.Height()); in drawPolygon()