C Library Functions  - rmove2 (3)

NAME

rmove2(3f) - [M_pixel:DRAW] relative move (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Example
Author
License

SYNOPSIS

definition:

   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_pixel, only: prefsize, vinit, ortho2, clear
     use M_pixel, only: move2, rmove2, rdraw2, vexit
     use M_pixel, only: linewidth
     use M_pixel, only: P_pixel, P_colormap
     use M_pixel__writegif, only : writegif
     implicit none
     integer :: i
        call prefsize(500,500)
        call vinit()
        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
        call writegif(’rmove2.3M_pixel.gif’,P_pixel,P_colormap)
        call  execute_command_line(’display rmove2.3M_pixel.gif’)
        call vexit()
     end program demo_rmove2

AUTHOR

John S. Urban

LICENSE

Public Domain


Nemo Release 3.1 rmove2 (3) July 22, 2023
Generated by manServer 1.08 from c7b5c831-9db7-42c3-ac88-804221e7d31d using man macros.