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

#include "libpng_image_library.h"

Inheritance diagram for net_instaweb::spriter::LibpngImageLibrary::Canvas:

Public Member Functions

 Canvas (ImageLibraryInterface *lib, const Delegate *d, const GoogleString &base_out_path, int width, int height)
virtual bool DrawImage (const ImageLibraryInterface::Image *image, int x, int y)
virtual bool WriteToFile (const FilePath &write_path, ImageFormat format)

Additional Inherited Members

- Protected Member Functions inherited from net_instaweb::spriter::ImageLibraryInterface::Canvas
 Canvas (ImageLibraryInterface *lib)
- Protected Attributes inherited from net_instaweb::spriter::ImageLibraryInterface::Canvas

Detailed Description

Canvases are mutable rectangles onto which a program may draw. For now, we support stamping images into a canvas, and writing a canvas to a file.

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