#include <ipethumbs.h>
|
| | 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) |
| |
| Pixels | saveRender (const Page *page, int view, double zoom, double tolerance=0.1) |
| |
◆ TargetFormat
| Enumerator |
|---|
| ESVG | |
| EPNG | |
| EPS | |
| EPDF | |
◆ Thumbnail()
| Thumbnail::Thumbnail |
( |
const Document * |
doc, |
|
|
int |
width |
|
) |
| |
◆ 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 |
|
) |
| |
References ipe::Document::cascade(), ipe::Page::count(), ipe::Buffer::data(), ipe::Object::draw(), ipe::Page::object(), ipe::Page::objectVisible(), ipe::Layout::paper(), ipe::Painter::popMatrix(), ipe::Painter::pushMatrix(), ipe::Painter::setAttributeMap(), ipe::Rect::topLeft(), ipe::Page::viewMap(), ipe::Vector::x, and ipe::Vector::y.
◆ saveRender() [1/2]
| bool Thumbnail::saveRender |
( |
TargetFormat |
fm, |
|
|
const char * |
dst, |
|
|
const Page * |
page, |
|
|
int |
view, |
|
|
double |
zoom, |
|
|
double |
tolerance = 0.1 |
|
) |
| |
◆ saveRender() [2/2]
| Thumbnail::Pixels Thumbnail::saveRender |
( |
const Page * |
page, |
|
|
int |
view, |
|
|
double |
zoom, |
|
|
double |
tolerance = 0.1 |
|
) |
| |
The documentation for this class was generated from the following files:
- ipethumbs.h
- ipethumbs.cpp