libdodo: dodo::graphics::transform Class Reference

dodo::graphics::transform Class Reference

provides simple image transformations More...

#include <graphicsTransform.h>

List of all members.

Public Types

enum  rotateDirectionAngleEnum {
  ROTATE_DIRECTION_ANGLE_90CW = -90, ROTATE_DIRECTION_ANGLE_90CCW = 90, ROTATE_DIRECTION_ANGLE_180 = 180, ROTATE_DIRECTION_ANGLE_270CW = -270,
  ROTATE_DIRECTION_ANGLE_270CCW = 270
}
 

defines rotation options

More...

Static Public Member Functions

static void scale (image &image, unsigned long width, unsigned long height)
 scale transform
static void scale (image &image, unsigned long size)
 scale transform
static void rotate (image &image, double angle)
 rotate transform

Detailed Description

provides simple image transformations

Definition at line 44 of file graphicsTransform.h.


Member Enumeration Documentation

defines rotation options

Enumerator:
ROTATE_DIRECTION_ANGLE_90CW 
ROTATE_DIRECTION_ANGLE_90CCW 
ROTATE_DIRECTION_ANGLE_180 
ROTATE_DIRECTION_ANGLE_270CW 
ROTATE_DIRECTION_ANGLE_270CCW 

Definition at line 50 of file graphicsTransform.h.


Member Function Documentation

static void dodo::graphics::transform::rotate ( image image,
double  angle 
) [static]

rotate transform

Parameters:
image defines image on which perform transformation
angle defines rotation degree,
See also:
also transform::rotateDirectionAngleEnum
static void dodo::graphics::transform::scale ( image image,
unsigned long  size 
) [static]

scale transform

Parameters:
image defines image on which perform transformation
size defines size of the transform
Note:
scales transform by reducing size of the greater side saving proportions
static void dodo::graphics::transform::scale ( image image,
unsigned long  width,
unsigned long  height 
) [static]

scale transform

Parameters:
image defines image on which perform transformation
width defines width of the transform
height defines height of the transform

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

Generated on Sun Nov 8 03:44:49 2009 for libdodo by  doxygen 1.6.1