| 35 | } |
| 36 | |
| 37 | void GPostscriptPort::DrawArc (const GPoint &pt, const int radius, |
| 38 | const double startAngleDegrees, const double endAngleDegrees) |
| 39 | { |
| 40 | PostscriptStream << "newpath" << std::endl; |
| 41 | PostscriptStream << pt.GetX() << " " << -pt.GetY() |
| 42 | << " " << radius |
| 43 | << " " << (360.0 -startAngleDegrees) |
| 44 | << " " << (360.0 - endAngleDegrees) |
| 45 | << " arcn" << std::endl; |
| 46 | PostscriptStream << "stroke" << std::endl; |
| 47 | PostscriptStream << std::endl; |
| 48 | } |
| 49 | |
| 50 | |
| 51 | void GPostscriptPort::DrawLine (const int x1, const int y1, const int x2, const int y2) |