Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

image.cpp File Reference

#include "image.h"
#include <stdlib.h>
#include <iostream.h>

Compounds

struct  DOUBLE_COLOR

Functions

void PixbufDestroy (guchar *pixels, gpointer data)
void exit_all (GtkWidget *widget, GdkEvent *event, gpointer data)
void new_window (GtkWidget *image, char *name)
bool is_imagefile (string FileName)

Function Documentation

void exit_all GtkWidget *    widget,
GdkEvent *    event,
gpointer    data
 

bool is_imagefile string    FileName
 

checks to see if the name of the file corresponds with that of an image file, simply checks the extension fo the file

Parameters:
FileName  the name of the file to check
Returns:
true if FileName corresponds to an image file name else false

void new_window GtkWidget *    image,
char *    name
 

used primarily for debugging, places a new window with the image displayed in it

Parameters:
image  the image to be displayed, this is usually produced through the toGTK() member of GrayImage or ColorImage
name  the name of the window

void PixbufDestroy guchar *    pixels,
gpointer    data
 

this function is used to delete the pixel data of all the GTK Images that are produced by the toGTK functions

Parameters:
pixels  the pixles to be destroied
data  this is unused and ignored but is needed to conforme to GdkPixbufDestroyNotify


Generated on Wed Apr 23 10:42:34 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002