Page Speed Optimization Libraries
1.13.35.1
|
#include "mock_image_library_interface.h"
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 | |
ImageLibraryInterface * | lib_ |
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.