Skip to content

low-level graphics routines that write into a pixel array; supplemented by modules that create GIF files

License

Notifications You must be signed in to change notification settings

urbanjost/M_pixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample

M_pixel - low level pixel graphics library

UNDER CONSTRUCTION

UNDER CONSTRUCTION

UNDER CONSTRUCTION

under construction

UNDER CONSTRUCTION

UNDER CONSTRUCTION

UNDER CONSTRUCTION

DESCRIPTION

This is a library that creates pixel images with a base vector-oriented graphics library that emulates a subset of the VOGLE vector graphics library.

BUILDING THE MODULES

 git clone https://github.com/urbanjost/M_pixel.git
 cd M_pixel/src
 # change Makefile if not using gfortran(1)
 make

This will compile the Fortran and basic example programs that exercise the routines.

While you are there, you might want to generate a text version of the documentation as well:

# show all manpages as text
env MANWIDTH=80 MANPATH=../man man --regex '.*' |col -b|tee man.txt

NOTES

USER DOCUMENTATION

  • a simple index to the individual manpages in HTML form

  • A single page that uses javascript to combine all the HTML descriptions of the manpages is at BOOK_M_pixel.

ADDITIONAL DIRECTORY DESCRIPTIONS

There are - manpages in the man/man3 directory - HTML documentation in the docs/ directory. - demo programs in the test/ directory

UNIT TESTS

There are no automated unit tests per-se. Running the example programs and demo programs ensures the library is functioning.

FUTURE

There are higher-level routines based on this library not yet available on github. Ultimately the hope is to release this as an fpm package as described at https://fortran-lang.org and then to release the higher-level routines as separate distributions on top of this.

An example program already using this low-level library to generate higher-level graphics:

  ![sample](images/M_slices.3.gif)