urbanjost / M_pixel

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Other


Languages

Language:Fortran 99.5%Language:Makefile 0.5%