Ipelib
Public Types | Public Member Functions | List of all members
ipe::Thumbnail Class Reference

#include <ipethumbs.h>

Public Types

enum  TargetFormat { ESVG , EPNG , EPS , EPDF }
 

Public Member Functions

 Thumbnail (const Document *doc, int width)
 
void setTransparent (bool t)
 
void setNoCrop (bool n)
 
int width () const
 
int height () const
 
Buffer render (const Page *page, int view)
 
bool saveRender (TargetFormat fm, const char *dst, const Page *page, int view, double zoom, double tolerance=0.1)
 

Member Enumeration Documentation

◆ TargetFormat

Enumerator
ESVG 
EPNG 
EPS 
EPDF 

Constructor & Destructor Documentation

◆ Thumbnail()

Thumbnail::Thumbnail ( const Document doc,
int  width 
)

Member Function Documentation

◆ setTransparent()

void ipe::Thumbnail::setTransparent ( bool  t)
inline

◆ setNoCrop()

void ipe::Thumbnail::setNoCrop ( bool  n)
inline

◆ width()

int ipe::Thumbnail::width ( ) const
inline

◆ height()

int ipe::Thumbnail::height ( ) const
inline

◆ render()

Buffer Thumbnail::render ( const Page page,
int  view 
)

◆ saveRender()

bool Thumbnail::saveRender ( TargetFormat  fm,
const char *  dst,
const Page page,
int  view,
double  zoom,
double  tolerance = 0.1 
)

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