C Library Functions - rmove2 (3)
NAME
rmove2(3f) - [M_draw:MOVE] Relative move in world units.
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Examples
SYNOPSIS
subroutine rmove2(deltax, deltay)
real,intent(in) :: deltax, deltay
DESCRIPTION
Update current position.
Relative move2. deltax and deltay are offsets in world units.
OPTIONS
|
X |
new X position
|
|
Y |
new Y position
|
|
EXAMPLES
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) | June 29, 2025 |
Generated by manServer 1.08 from 3d4d44aa-e125-4d06-865d-508c30c6d613 using man macros.