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

#include "mock_image_library_interface.h"

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

Public Member Functions

 MOCK_METHOD3 (DrawImage, bool(const Image *image, int x, int y))
 
 MOCK_METHOD2 (WriteToFile, bool(const FilePath &write_path, ImageFormat format))
 
- Public Member Functions inherited from net_instaweb::spriter::ImageLibraryInterface::Canvas
virtual bool DrawImage (const Image *image, int x, int y)=0
 
virtual bool WriteToFile (const FilePath &write_path, ImageFormat format)=0
 

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
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: