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

#include "image_library_interface.h"

Inheritance diagram for net_instaweb::spriter::ImageLibraryInterface::Canvas:
net_instaweb::spriter::LibpngImageLibrary::Canvas net_instaweb::spriter::MockImageLibraryInterface::MockCanvas

Public Member Functions

virtual bool DrawImage (const Image *image, int x, int y)=0
 
virtual bool WriteToFile (const FilePath &write_path, ImageFormat format)=0
 

Protected Member Functions

 Canvas (ImageLibraryInterface *lib)
 

Protected Attributes

ImageLibraryInterfacelib_
 

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: