drawn_distance Function

private function drawn_distance(self, i) result(s)

The distance along the curve at point i (1 to num_drawn), as drawn (for the dash pattern): read back from the line buffers.

Type Bound

CurveArtist

Arguments

Type IntentOptional Attributes Name
class(CurveArtist), intent(in) :: self
integer, intent(in) :: i

the point (1 to num_drawn)

Return Value real(kind=wp)


Calls

proc~~drawn_distance~~CallsGraph proc~drawn_distance CurveArtist%drawn_distance distance distance proc~drawn_distance->distance

Source Code

    function drawn_distance(self, i) result(s)
        class(CurveArtist), intent(in) :: self
        integer, intent(in) :: i                            !! the point (1 to num_drawn)
        real(wp) :: s
        s = self%chain%distance(i)
    end function drawn_distance