C Library Functions  - vexit (3)

NAME

vexit(3f) - [M_pixel] exit pixel graphics mode (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Example
Author
License

SYNOPSIS

definition:

   subroutine vexit()

DESCRIPTION

Used to terminate pixel graphics mode. Does any actions required to terminate graphics mode including unallocating the module pixel array P_pixel. Required before calling vinit(3f) more than once.

Resets the window/terminal (must be the last M_PIXEL routine called).

OPTIONS

EXAMPLE

Sample program:

     program demo_vexit
     use M_pixel, only: prefsize, vexit, ortho2, clear
     use M_pixel, only: move2, draw2, color, vinit
     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 color(1)
        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(’vexit.3M_pixel.gif’,P_pixel,P_colormap)
        call vexit()
     end program demo_vexit

AUTHOR

John S. Urban

LICENSE

Public Domain


Nemo Release 3.1 vexit (3) July 22, 2023
Generated by manServer 1.08 from 31c15c8e-caf7-4379-8c46-09cda590c1c9 using man macros.