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

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample

M_pixel - low level pixel graphics library

DESCRIPTION

This is a library that creates pixel images with a vector-oriented graphics library that emulates a subset of the M_draw vector graphics library. It is supplemented with additional modules that read and write GIF files, including animated GIFs.

The user may supplement the routines by directly manipulating the pixel map as well.

BUILDING THE MODULES

 git clone https://github.com/urbanjost/M_pixel.git
 cd M_pixel/src
 # change Makefile if not using one of the listed compilers
 
 # for gfortran
 make clean
 make F90=gfortran gfortran
 
 # for ifort
 make clean
 make F90=ifort ifort

 # for nvfortran
 make clean
 make F90=nvfortran nvfortran

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

DOCUMENTATION docs

USER

  • an index to the individual man-pages in HTML form

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

  • CHANGELOG provides a history of significant changes

DEVELOPER

ADDITIONAL DIRECTORY DESCRIPTIONS

There are

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 a collection of higher-level routines that need added, as well as more font support, and antialiasing and basic pixel operations (the library currently primarily provides two-dimensional vector-like commands).

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

M-slices