Navigation C API Pages Python bindings Applications

Library Core

The Library core contains all basic data structures and functions that form the glue which holds the GFXprim libraries together.

The most important data structure is Pixmap which describes an in-memory pixmap which is used extensively in all parts of the library.

Core also contains generated code for basic pixel manipulations such as GetPixel and PutPixel in addition to the Blits implementation.

Library Core is a place to implement common functinonality that is used from the rest of the GFXprim modules, for example the Debug layer or the Progress callback.

Table 1. Main Core library parts


Describes in-memory pixmap

Basic types

Types for size, lenght, pixel and color

Pixel types

Pixel types handling and interface

GetPixel and PutPixel

Macros and functions to get and put pixels


Blits (copies) a rectangular area from one pixmap to another as well as simple pixel format conversions

Progress Callback

Progress callback passed to all filters and loaders

Debug layer

Library debug layer

Common macros

Common macros and semi-internal interface

Environment variables

Environment variables