Page Speed Optimization Libraries
1.13.35.1
|
#include "image_library_interface.h"
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 | |
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.