Next Previous Contents

# Hermes 1.2 API

## Christian Nentwich (brn), c.nentwich@cs.ucl.ac.uk

04/12/1998

This is the API documentation for the HERMES pixel format conversion library. HERMES is (c)1998 Christian Nentwich and other (see CONTRIB). This package is licensed under the GNU LGPL. Refer to COPYING.LIB for exact terms and conditions

## 1. Initialisation of the Library

- 1.1 int Hermes_Init()
- 1.2 int Hermes_Done()

## 2. Palette Handling

- 2.1 HermesHandle Hermes_PaletteInstance()
- 2.2 void Hermes_PaletteReturn(HermesHandle handle)
- 2.3 void Hermes_PaletteSet(HermesHandle handle,int32 *palette)
- 2.4 int32* Hermes_PaletteGet(HermesHandle handle)
- 2.5 void Hermes_PaletteInvalidateCache(HermesHandle handle)

## 3. Format Conversion

- 3.1 HermesHandle Hermes_ConverterInstance(unsigned long flags)
- 3.2 void Hermes_ConverterReturn(HermesHandle handle)
- 3.3 int Hermes_ConverterRequest(...)
- 3.4 int Hermes_ConverterPalette(...)
- 3.5 int Hermes_ConverterCopy(...)

## 4. Surface Clearing

- 4.1 HermesHandle Hermes_ClearerInstance()
- 4.2 void Hermes_ClearerReturn(HermesHandle handle)
- 4.3 int Hermes_ClearerRequest(HermesHandle handle,HermesFormat *format)
- 4.4 int Hermes_ClearerClear(...)

Next Previous Contents