Page Speed Optimization Libraries  1.12.34.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::spriter::LibpngImageLibrary::Image Class Reference

Images are immutable rectangular regions of pixels. More...

#include "libpng_image_library.h"

Inheritance diagram for net_instaweb::spriter::LibpngImageLibrary::Image:
net_instaweb::spriter::ImageLibraryInterface::Image

Public Member Functions

 Image (ImageLibraryInterface *lib, png_structp png_struct, png_infop png_info, png_bytep *rows)
 Takes ownership of rows.
 
virtual bool GetDimensions (int *out_width, int *out_height) const
 Get the width and height of an image.
 
const png_bytep * Rows () const
 

Additional Inherited Members

- Protected Member Functions inherited from net_instaweb::spriter::ImageLibraryInterface::Image
 Image (ImageLibraryInterface *lib)
 Only methods of ImageLibraryInterface may create images.
 
- Protected Attributes inherited from net_instaweb::spriter::ImageLibraryInterface::Image
ImageLibraryInterfacelib_
 

Detailed Description

Images are immutable rectangular regions of pixels.


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