num_drawn Function

private pure function num_drawn(self)

Segments drawn now (0 until shown and updated).

Type Bound

CustomLineSegments

Arguments

Type IntentOptional Attributes Name
class(CustomLineSegments), intent(in) :: self

Return Value integer


Source Code

    pure integer function num_drawn(self)
        class(CustomLineSegments), intent(in) :: self
        num_drawn = self%n_drawn
    end function num_drawn