add a "genp_line" subroutine
This commit is contained in:
@@ -64,6 +64,12 @@ subroutine genp_draw (px, py, color)
|
|||||||
if (ly .gt. ymax) ymax = ly
|
if (ly .gt. ymax) ymax = ly
|
||||||
end subroutine
|
end subroutine
|
||||||
! ---------------------------------------------------------
|
! ---------------------------------------------------------
|
||||||
|
subroutine genp_line(xa, ya, xb, yb, color)
|
||||||
|
real, intent(in) :: xa, ya, xb, yb
|
||||||
|
integer, intent(in) :: color
|
||||||
|
call genp_move(xa, ya)
|
||||||
|
call genp_draw(xb, yb, color)
|
||||||
|
end subroutine
|
||||||
! ---------------------------------------------------------
|
! ---------------------------------------------------------
|
||||||
subroutine genp_end (foo)
|
subroutine genp_end (foo)
|
||||||
integer, intent(in) :: foo
|
integer, intent(in) :: foo
|
||||||
|
|||||||
Reference in New Issue
Block a user