GrafAnim: made the testbed

This commit is contained in:
tTh
2022-11-13 23:47:45 +01:00
parent 25b2f353cd
commit 17e5de3ecb
7 changed files with 85 additions and 8 deletions

View File

@@ -7,9 +7,37 @@ module usegenplot
subroutine init_genplot(filename)
character(200) :: filename
character(*), intent(in) :: filename
write(0, *) '-------- init genplot '
write(0, *) '--> init genplot "', filename, '"'
end subroutine
! -------------------------------------------------------------------
subroutine gplt_move(x, y)
integer, intent(in) :: x, y
print *, x, y, 0
end subroutine
! -------------------------------------------------------------------
subroutine gplt_draw(x, y)
integer, intent(in) :: x, y
print *, x, y, 2
end subroutine
! -------------------------------------------------------------------
subroutine gplt_line(x1, y1, x2, y2)
integer, intent(in) :: x1, y1, x2, y2
call gplt_move(x1, y1)
call gplt_draw(x2, y2)
end subroutine
! -------------------------------------------------------------------
subroutine gplt_rect(x1, y1, x2, y2)
integer, intent(in) :: x1, y1, x2, y2! -------------------------------------------------------------------
end subroutine