src/classify/mfoutline.cpp
void ChangeDirection(MFOUTLINE Start, MFOUTLINE End, DIRECTION Direction) {
  MFOUTLINE Current;

  for (Current = Start; Current != End; Current = NextPointAfter(Current)) {
    PointAt(Current)->Direction = Direction;
  }

  PointAt(End)->PreviousDirection = Direction;

}
/**
 * Change the direction of every vector in the specified
 * outline segment to Direction.  The segment to be changed
 * starts at Start and ends at End.  Note that the previous
 * direction of End must also be changed to reflect the
 * change in direction of the point before it.
 * @param Start defines start of segment of outline to be modified
 * @param End defines end of segment of outline to be modified
 * @param Direction new direction to assign to segment
 */
Change the direction of every vector in the specified
outline segment to Direction.  The segment to be changed
starts at Start and ends at End.  Note that the previous
direction of End must also be changed to reflect the
change in direction of the point before it.
@param Start defines start of segment of outline to be modified
@param End defines end of segment of outline to be modified
@param Direction new direction to assign to segment
Change the direction of every vector in the specified outline segment to Direction . The segment to be changed starts at Start and ends at End . Note that the previous direction of End must also be changed to reflect the change in direction of the point before it . @param Start defines start of segment of outline to be modified @param End defines end of segment of outline to be modified @param Direction new direction to assign to segment
void ChangeDirection(MFOUTLINE Start, MFOUTLINE End, DIRECTION Direction) {
  MFOUTLINE Current;
  for (Current = Start; Current != End; Current = NextPointAfter(Current)) {
    PointAt(Current)->Direction = Direction;
  }
  PointAt(End)->PreviousDirection = Direction;
}
void ChangeDirection ( MFOUTLINE Start , MFOUTLINE End , DIRECTION Direction ) { MFOUTLINE Current ; for ( Current = Start ; Current != End ; Current = NextPointAfter ( Current ) ) { PointAt ( Current ) -> Direction = Direction ; } PointAt ( End ) -> PreviousDirection = Direction ; }
Change the direction of every vector in the specified
 outline segment to Direction.
Change the direction of every vector in the specified outline segment to Direction .