C Library Functions - rmove2 (3)
NAME
rmove2(3f) - [M_pixel:DRAW] relative move
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Examples
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
|
|
EXAMPLES
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) | June 29, 2025 |
Generated by manServer 1.08 from b7fb271f-581b-4ea8-b236-0fd9bb5d2894 using man macros.