Manual Reference Pages  - vinit (3m_pixel)
     NAME
vinit(3f) - [M_pixel] initialize pixel graphics module
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Example
Author
License
     SYNOPSIS
definition:
  subroutine vinit()
     DESCRIPTION
Initialize the pixel graphics module. The pixel array P_pixel and the
colormap P_ColorMap are directly accessible after the call to allow
display or printing
     OPTIONS
     EXAMPLE
Sample program:
     program demo_vinit
     use M_pixel, only    : prefsize, vinit, ortho2, clear
     use M_pixel, only    : move2, draw2, vexit, color
     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(vinit.3M_pixel.gif,P_pixel,P_colormap)
        call vexit()
     end program demo_vinit
     AUTHOR
John S. Urban
     LICENSE
Public Domain
 | Nemo Release 3.1 | vinit (3m_pixel) | April 21, 2023 | 
Generated by manServer 1.08 from fc65f5f3-e0ea-484a-b0b6-6cc74c87852d using man macros.
