rmove2(3f) - [M_draw:MOVE] Relative move in world units. (LICENSE:PD)
Synopsis
Description
Options
Examples
subroutine rmove2(deltax, deltay)
real,intent(in) :: deltax, deltay
Update current position. Relative move2. deltax and deltay are offsets in world units.
X new X position Y new Y position
Sample program:
program demo_rmove2 use M_draw, only: prefsize, vinit, ortho2, clear, getkey use M_draw, only: move2, rmove2, rdraw2, vexit use M_draw, only: linewidth implicit none integer :: ipaws integer :: i call prefsize(500,500) call vinit( ) ! start graphics using device $M_DRAW_DEVICE call ortho2(-110.0,110.0,-110.0,110.0) call move2(-100.0,-100.0) call linewidth(70) do i=1,20 call rmove2(10.0, 0.0) call rdraw2( 0.0,10.0) enddo ipaws=getkey() call vexit() end program demo_rmove2
Nemo Release 3.1 | rmove2 (3) | February 23, 2025 |