internal float[] ResolvePositions(float[] positions)
{
if (!IsSimple()) {
positions[1] = mc.top;
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;
}