image::alpha Class Reference

8-bit alpha image. More...

#include <image.h>

Inheritance diagram for image::alpha:

image::image_base

List of all members.

Public Member Functions

 alpha (int width, int height)
 alpha (const alpha &o)
std::auto_ptr< image_baseclone () const
 Return a copy of this image.
 ~alpha ()
bool make_next_miplevel ()
 Fast, in-place resample. For making mip-maps. Munges the input image to produce the output image.
void set_pixel (size_t x, size_t y, boost::uint8_t a)
 Set pixel value.
bool operator== (const alpha &a) const
unsigned int compute_hash () const


Detailed Description

8-bit alpha image.

Constructor & Destructor Documentation

image::alpha::alpha ( int  width,
int  height 
)

image::alpha::alpha ( const alpha o  )  [inline]

image::alpha::~alpha (  ) 


Member Function Documentation

std::auto_ptr<image_base> image::alpha::clone (  )  const [inline, virtual]

Return a copy of this image.

Implements image::image_base.

bool image::alpha::make_next_miplevel (  )  [virtual]

Fast, in-place resample. For making mip-maps. Munges the input image to produce the output image.

Returns:
true if resample happened, false otherwise (image can't be shrinked, for example)

Reimplemented from image::image_base.

void image::alpha::set_pixel ( size_t  x,
size_t  y,
boost::uint8_t  a 
)

Set pixel value.

TODO: move in base class ?

bool image::alpha::operator== ( const alpha a  )  const

unsigned int image::alpha::compute_hash (  )  const


The documentation for this class was generated from the following files:
Generated on Thu Mar 6 18:25:12 2008 for Gnash by  doxygen 1.5.4