| 194 | //------------------------------------------------------------------------------ |
| 195 | |
| 196 | long64 TopX(TEdge &edge, const long64 currentY) |
| 197 | { |
| 198 | if( currentY == edge.ytop ) return edge.xtop; |
| 199 | return edge.xbot + Round(edge.dx *(currentY - edge.ybot)); |
| 200 | } |
| 201 | //------------------------------------------------------------------------------ |
| 202 | |
| 203 | long64 TopX(const IntPoint pt1, const IntPoint pt2, const long64 currentY) |
no test coverage detected