Ipelib

Public Member Functions | List of all members
ipe::PdfThumbnail Class Reference

`#include <ipethumbs.h>`

## Public Member Functions
| PdfThumbnail (const PdfFile *pdf, int width)
int | width () const
int | height () const
Buffer | render (const PdfDict *page)

## Constructor & Destructor Documentation

## ◆ PdfThumbnail()

PdfThumbnail::PdfThumbnail | ( | const PdfFile * | pdf,
|  | int | width
| ) |  |

References ipe::Rect::height(), ipe::max(), ipe::StyleSheet::standard(), ipe::Thumbnail::width(), and ipe::Rect::width().

## Member Function Documentation

## ◆ width()

int ipe::PdfThumbnail::width | ( |  | ) | const
| inline

## ◆ height()

int ipe::PdfThumbnail::height | ( |  | ) | const
| inline

References ipe::Thumbnail::render().

## ◆ render()

Buffer PdfThumbnail::render | ( | const PdfDict * | page | ) |

References ipe::Buffer::data(), ipe::PdfObj::dict(), ipe::CairoPainter::executeStream(), ipe::PdfDict::get(), and ipe::Rect::width().

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

- ipethumbs.h
- ipethumbs.cpp