[UP]


Manual Reference Pages  - rmove2 (3)

NAME

rmove2(3f) - [M_draw:MOVE] Relative move in world units. (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Example

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

EXAMPLE

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
     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


rmove2 (3) March 11, 2021
Generated by manServer 1.08 from f9f11421-bb8f-4bbb-ad1a-dfa649b0c752 using man macros.