Ipelib
|
#include <ipepdfview_win.h>
Inherits QWidget, ipe::PdfViewBase, and ipe::PdfViewBase.
Signals | |
void | sizeChanged () |
void | mouseButton (int, Vector) |
Public Member Functions | |
PdfView (QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
virtual void | invalidate () |
virtual void | invalidate (int x, int y, int w, int h) |
PdfView (HWND parent, HWND target, int screen, HINSTANCE hInstance=nullptr) | |
HWND | windowId () const |
Public Member Functions inherited from ipe::PdfViewBase | |
virtual | ~PdfViewBase () |
void | setPdf (const PdfFile *pdf, Fonts *fonts) |
void | setPage (const PdfDict *page, const Rect &paper) |
void | setBackground (const Color &bg) |
void | setBlackout (bool bo) |
Vector | pan () const |
double | zoom () const |
Vector | center () const |
int | viewWidth () const |
int | viewHeight () const |
bool | blackout () const |
Vector | devToUser (const Vector &arg) const |
Vector | userToDev (const Vector &arg) const |
void | setPan (const Vector &v) |
void | setZoom (double zoom) |
Matrix | canvasTfm () const |
void | updatePdf () |
Static Public Member Functions | |
static void | init (HINSTANCE hInstance) |
Static Public Attributes | |
static constexpr int | WM_PDFVIEW = 0x8000 |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *ev) |
virtual void | mousePressEvent (QMouseEvent *ev) |
virtual QSize | sizeHint () const |
Protected Member Functions inherited from ipe::PdfViewBase | |
PdfViewBase () | |
void | drawPaper (cairo_t *cc) |
void | refreshSurface () |
Additional Inherited Members | |
Protected Attributes inherited from ipe::PdfViewBase | |
double | iWidth |
double | iHeight |
double | iBWidth |
double | iBHeight |
Vector | iPan |
double | iZoom |
Color | iBackground |
bool | iBlackout |
bool | iRepaint |
cairo_surface_t * | iSurface |
std::unique_ptr< Cascade > | iCascade |
const PdfDict * | iPage |
Rect | iPaperBox |
const PdfDict * | iStream |
const PdfFile * | iPdf |
Fonts * | iFonts |
PdfView::PdfView | ( | QWidget * | parent, |
Qt::WindowFlags | f = Qt::Widget |
||
) |
PdfView::PdfView | ( | HWND | parent, |
HWND | target, | ||
int | screen, | ||
HINSTANCE | hInstance = nullptr |
||
) |
|
virtual |
Implements ipe::PdfViewBase.
References ipe::PdfViewBase::iHeight, and ipe::PdfViewBase::iWidth.
|
virtual |
Implements ipe::PdfViewBase.
References ipe::PdfViewBase::iHeight.
|
signal |
Referenced by paintEvent().
|
signal |
Referenced by mousePressEvent().
|
protectedvirtual |
|
protectedvirtual |
References ipe::PdfViewBase::devToUser(), and mouseButton().
|
protectedvirtual |
|
static |
|
inline |
|
staticconstexpr |