MCPcopy Create free account
hub / github.com/MapServer/MapServer / TopX

Function TopX

renderers/agg/src/clipper.cpp:196–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194//------------------------------------------------------------------------------
195
196long64 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
203long64 TopX(const IntPoint pt1, const IntPoint pt2, const long64 currentY)

Callers 2

BuildIntersectListMethod · 0.85

Calls 1

RoundFunction · 0.85

Tested by

no test coverage detected