Lines Matching refs:TPointD

28 void extglDrawText(const TPointD &p, const std::string &s,  in extglDrawText()
46 void drawSign(const TPointD &p, const TPointD &v, double size) { in drawSign()
50 TPointD v90 = rotate90(v); in drawSign()
51 TPointD v270 = rotate270(v); in drawSign()
71 void drawCross(const TPointD &p, double size) { in drawCross()
72 TPointD v1 = TPointD(1, 1); in drawCross()
73 TPointD v2 = TPointD(1, -1); in drawCross()
147 const TPointD offset(20, 20); in showCorners()
161 TPointD pnt = s->getPoint(tmp); in showCorners()
168 extglDrawText(TPointD(pnt.x, pnt.y) + offset, oss.str()); in showCorners()
181 TPointD pnt = s->getPoint(tmp); in showCorners()
188 extglDrawText(TPointD(pnt.x, pnt.y) - offset, oss.str()); in showCorners()
212 c.setP0(TPointD(0.0, 0.0)); in draw()
213 c.setP1(TPointD(4.0, 12.0)); in draw()
214 c.setP2(TPointD(12.0, 12.0)); in draw()
215 c.setP3(TPointD(16.0, 0.0)); in draw()
231 c.setP0(TPointD(0.0, 0.0)); in draw()
232 c.setP1(TPointD(0.0, 12.0)); in draw()
233 c.setP2(TPointD(6.0, 12.0)); in draw()
234 c.setP3(TPointD(12.0, 12.0)); in draw()
237 c.setP0(TPointD(12.0, 12.0)); in draw()
238 c.setP1(TPointD(6.0, 8.0)); in draw()
239 c.setP2(TPointD(6.0, 4.0)); in draw()
240 c.setP3(TPointD(12.0, 0.0)); in draw()
256 tglVertex(TPointD(0.0, 0.0)); in draw()
257 tglVertex(TPointD(8.0, 12.0)); in draw()
258 tglVertex(TPointD(16.0, 0.0)); in draw()
295 TPointD offset = normalize(TPointD(1.0, 1.0)) * 20.0; in draw()
300 extglDrawText(TPointD(x_, y_) + offset, oss.str()); in draw()
355 TPointD offset(1, -1); in setPosition()