| 613 | //------------------------------------------------------------------------------ |
| 614 | |
| 615 | inline cInt TopX(TEdge &edge, const cInt currentY) |
| 616 | { |
| 617 | return ( currentY == edge.Top.Y ) ? |
| 618 | edge.Top.X : edge.Bot.X + Round(edge.Dx *(currentY - edge.Bot.Y)); |
| 619 | } |
| 620 | //------------------------------------------------------------------------------ |
| 621 | |
| 622 | void IntersectPoint(TEdge &Edge1, TEdge &Edge2, IntPoint &ip) |
no test coverage detected