switch (align_type) { case ALIGN_HORIZONTAL_FROM_TOP: align_horizontal_from_top(&curvedata.line.end1, &curvedata.line.end2); break; case ALIGN_HORIZONTAL_FROM_MID: align_horizontal_from_mid(&curvedata.line.end1, &curvedata.line.end2); break; case ALIGN_HORIZONTAL_FROM_BOTTOM: align_horizontal_from_bottom(&curvedata.line.end1, &curvedata.line.end2); break; case ALIGN_VERTICAL_FROM_LEFT: align_vertical_from_left(&curvedata.line.end1, &curvedata.line.end2); break; case ALIGN_VERTICAL_FROM_MID: align_vertical_from_mid(&curvedata.line.end1, &curvedata.line.end2); break; case ALIGN_VERTICAL_FROM_RIGHT: align_vertical_from_right(&curvedata.line.end1, &curvedata.line.end2); break; }
status = ProDtlentitydataCurveSet(entdata, &curvedata); status = ProDtlentityModify(&modelitem, NULL, entdata); status = ProWindowCurrentGet(&wid); status = ProWindowRefresh(wid);
status = ProDtlentitydataFree(entdata); status = ProWindowRepaint(PRO_VALUE_UNUSED);