internal float[] ResolvePositions(float[] positions)
{
if (!IsSimple())
{
return(positions);
}
if (mc.top == AUTOMATIC)
{
// this is bad - must be programmer error
throw new Exception("resolvePositions called with top=AUTOMATIC (-1). " +
"Top position must be set befure lines can be resolved");
}
positions[1] = mc.top;
positions[3] = mc.GetColumnBottom();
return(positions);
}