Logo Search packages:      
Sourcecode: kdc2tiff version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

GFilter_Scale Class Reference

Inheritance diagram for GFilter_Scale:
Inheritance graph
[legend]
Collaboration diagram for GFilter_Scale:
Collaboration graph
[legend]

List of all members.

Public Member Functions

double getAspectRatio ()
int getHeight ()
void getPixel (short &red, short &green, short &blue, float x1, float y1, float x2, float y2)
int getPreferredHeight ()
int getPreferredWidth ()
void getScanLineHorz (short *red, short *green, short *blue, float x1, float y1, float x2, float y2, int npixels)
void getScanLineVert (short *red, short *green, short *blue, float x1, float y1, float x2, float y2, int npixels)
int getUncropHeight ()
int getUncropWidth ()
int getWidth ()
 GFilter_Scale (GImage &image, int width, int height, double aspect=1)
 GFilter_Scale (GImage &image)
void setAspectRatio (double ratio)
void setDimensions (int width, int height, bool crop=true)
void setMaximumDimensions (int width, int height)
void setMinimumDimensions (int width, int height)

Protected Member Functions

const char * getComments ()
GImagegetSourceImage ()

Protected Attributes

double aspectratio
int h
GImagesrc
int w
float xfactor
float xoffset
float yfactor
float yoffset

Private Member Functions

void calculateConstants ()

Detailed Description

Definition at line 162 of file GFilter.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index