Count intermediate markers from the start (MARKER_START, default) or from the end (MARKER_END; recomputed whenever points are added).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(MarkerArtist), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | direction |
MARKER_START or MARKER_END |
subroutine set_intermediate_direction(self, direction) class(MarkerArtist), intent(inout) :: self integer, intent(in) :: direction !! MARKER_START or MARKER_END if (direction == self%direction_) return self%direction_ = merge(MARKER_END, MARKER_START, direction == MARKER_END) call redraw_markers(self) end subroutine set_intermediate_direction