STIR  6.2.0
Macros | Typedefs | Functions
screen.h File Reference

very basic display routines for bitmaps (internal use only) More...

Go to the source code of this file.

Macros

#define SC_pixel_t   unsigned char
 

Typedefs

typedef SC_pixel_t image_t
 
typedef struct screen_image screen_image_t
 

Functions

void SC_SCALE (int pos_x, int pos_y, int size_x, int size_y)
 
void put_textstr (int x, int y, const char *str)
 
int center_sc_images (int *Pscale, int min_x, int max_x, int min_y, int max_y, int SIZE_X, int SIZE_Y, screen_image_t sc_image[], int nr_sc)
 
void draw_sc_images (int size_x, int size_y, screen_image_t sc_image[], int no)
 

Detailed Description

very basic display routines for bitmaps (internal use only)

Author
Kris Thielemans
PARAPET project

This is part of a library by Kris Thielemans, mainly written in 1991. It provides macros (and a few functions) for displaying stuff on a screen. The files only contain the macros for XWindows. It's fairly simplistic. No menus. Just simple display of bitmaps, lines, points, text strings.