Manual Reference Pages - move2 (3m_pixel)
NAME
move2(3f) - [M_pixel:DRAW] change current position
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Example
Author
License
SYNOPSIS
definition:
subroutine move2(x, y)
real x, y
DESCRIPTION
Update current position.
OPTIONS
|
X |
new X position
|
|
Y |
new Y position
|
|
EXAMPLE
Sample program:
program demo_move2
use M_pixel, only : prefsize, vinit, ortho2, clear
use M_pixel, only : move2, draw2, vexit
use M_pixel, only : P_pixel,P_colormap
use M_pixel__writegif, only : writegif
implicit none
call prefsize(60,40)
call vinit()
call ortho2(-300.0,300.0,-200.0,200.0)
call clear(0)
call move2(-300.0,-200.0)
call draw2(300.0,200.0)
call move2(300.0,-200.0)
call draw2(-300.0,200.0)
call writegif(move2.3M_pixel.gif,P_pixel,P_colormap)
call vexit()
end program demo_move2
AUTHOR
John S. Urban
LICENSE
Public Domain
| Nemo Release 3.1 | move2 (3m_pixel) | April 21, 2023 |
Generated by manServer 1.08 from ea60fd28-3c9b-4240-b27c-61c6caff4645 using man macros.